Skip to content

#5ea2db

a balanced, vivid blue · cool · closest name: Cornflower Blue

RGB
94, 162, 219
HSL
207°, 64%, 61%
CMYK
57, 26, 0, 14
Luminance
0.3333

At a glance

Every number on this page in one read: what #5ea2db is made of, how bright it looks, and which way it leans.

Hex
#5ea2db
Hue
207°
blue
Saturation
64%
vivid
Lightness
61%
balanced
Brightness
86%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3333
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.67:1
Closest name
Cornflower Blue
ΔE2000 6.5
Where it sits
Hue207° of 360°
Saturation64%
Lightness61%
Temperature
Warm ← → Cool99% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#5ea2db
RGBrgb(94, 162, 219)
HSLhsl(207, 64%, 61%)
CMYKcmyk(57%, 26%, 0%, 14%)
LABlab(64.4 -5.0 -35.4)
LCHlch(64.4 35.8 261.9)
OKLCHoklch(0.691 0.109 245.6)
Decimal6202075
Display P3color(display-p3 0.369 0.635 0.859)

Copy-ready code

/* CSS */
color: #5ea2db;
background-color: #5ea2db;
/* Tailwind (arbitrary) */
class="text-[#5ea2db] bg-[#5ea2db]"
/* SCSS */
$brand: #5ea2db;
/* SwiftUI */
Color(red: 0.369, green: 0.635, blue: 0.859)
/* Android */
Color.parseColor("#5ea2db")
/* Flutter */
Color(0xFF5EA2DB)
/* Python / OpenCV (BGR) */
(219, 162, 94)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #5ea2db · 7.67:1
Use #000000AAA at every size.
Aa
White text · 2.74:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.67:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5ea2db as text scores 2.74:1 on white and 7.67:1 on black.

Accessibility — WCAG contrast

Aa
#5ea2db on white: 2.74:1
AA ✗ fail · AA-large · AAA
Aa
#5ea2db on black: 7.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8AA3DE
deuteranopia · #7997DA
tritanopia · #00B0B6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5ea2db is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F4F8FB
#E8F0F7
#CBDFF0
#A3CAEB
#75AFE0
#5ea2db
#2D81C8
#256CA7
#1E5685
#194061
#10283D
Base = 500Lightest = 50 · #F4F8FBDarkest = 950 · #10283D
:root {
  --brand-50: #F4F8FB;
  --brand-100: #E8F0F7;
  --brand-200: #CBDFF0;
  --brand-300: #A3CAEB;
  --brand-400: #75AFE0;
  --brand-500: #5ea2db;
  --brand-600: #2D81C8;
  --brand-700: #256CA7;
  --brand-800: #1E5685;
  --brand-900: #194061;
  --brand-950: #10283D;
  --brand: #5ea2db;
  --brand-ink: #000000;
}

Colors that work with #5ea2db

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#AB3E21
Second voice, not a rival
Dark variant#174368
Hover, pressed, headers
Light variant#EAF3FA
Selected rows, tints
Dark surface#141D24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #5ea2db

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DB975E
Analogous left#5EDBD6
Analogous right#5E63DB
Split-complement 1#DB5E63
Split-complement 2#DBD65E
Triadic 1#DB5EA2
Triadic 2#A2DB5E
Tetradic#D65EDB

RGB percentages

Red36.9%
Green63.5%
Blue85.9%

CMYK percentages

Cyan57.1%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#5ea2db text on a black background

contrast 7.67:1

Card sample

#5ea2db text on a white background

contrast 2.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5ea2db;
Background color
Panel with #5ea2db background
background-color: #5ea2db;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #5ea2db;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(94, 162, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(94, 162, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ea2db;
background: linear-gradient(135deg, #5ea2db, #6D5EDB);

Monochromatic scale

Palettes built from #5ea2db

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#5ea2db in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#5ea2db, answered

What color is #5ea2db?

#5ea2db is a balanced vivid blue, closest to Cornflower Blue (ΔE2000 6.5). It sits at 207° on the hue wheel with 64% saturation and 61% lightness, which reads as cool.

What is the RGB value of #5ea2db?

rgb(94, 162, 219) — 94 red, 162 green and 219 blue out of 255, or 36.9% / 63.5% / 85.9% by channel.

Is #5ea2db a light or a dark color?

It is a mid-tone. Relative luminance is 0.3333 and perceived brightness is 60%, so black text on it reaches 7.67:1.

Should I use black or white text on #5ea2db?

Black. It scores 7.67:1 against #5ea2db, versus 2.74:1 for white — AAA at any size.

What is the complementary color of #5ea2db?

#DB975E sits directly opposite on the wheel. Softer options are the split-complements #DB5E63 and #DBD65E, which give the same contrast with far less vibration.

What colors go well with #5ea2db?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #AB3E21 as an accent and #174368 for hover and pressed states. For a palette, the analogous pair #5EDBD6 and #5E63DB stays calm, while #DB975E is the loudest partner.

What is #5ea2db in CMYK for printing?

cmyk(57%, 26%, 0%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #5ea2db warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5E74DB; nudged cooler, #4790D9.

Work with #5ea2db in the Color Lab