#5E7DCD#5E7DCD

#5E7DCD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.127 H 266.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E7DCD
RGBrgb(94, 125, 205)
HSLhsl(223, 53%, 59%)
HSVhsv(223, 54%, 80%)
CMYKcmyk(54.1%, 39%, 0%, 19.6%)
CIE-LABlab(53.44, 12.10, -44.86)
CIE-LCHlch(53.44, 46.46, 285.10°)
OKLaboklab(60.28% -0.0075 -0.1271)
OKLCHoklch(60.28% 0.127 266.6)
XYZxyz(22.9655, 21.4530, 60.6764)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DCD #CDAE5E
analogous
#5EB4CD #5E7DCD #765ECD
triadic
#5E7DCD #CD5E7D #7DCD5E
tetradic
#5E7DCD #CD5EB4 #CDAE5E #5ECD76
square
#5E7DCD #CD5EB4 #CDAE5E #5ECD76
split-complementary
#5E7DCD #CD765E #B4CD5E
monochromatic
#2A4487 #385BB5 #5E7DCD #8DA3DC #BBC8EA

Accessibility & contrast

On white

3.97
#5E7DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5E7DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DCD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DCD#FFFFFF#000000##000000
##5E7DCD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#228E9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7dcd;
/* rgb */ color: rgb(94, 125, 205);
/* oklch */ color: oklch(60.3% 0.127 266.6);
Tailwind
colors: {
  custom: {
    50: '#93a2dc',
    500: '#5e7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e7dcd;
$custom-light: #93a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7dcd",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 223.243,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.1273,
    "h": 266.6
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#5E7DCD
secondary
#D9CDAD
accent
#B44CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5E7DCD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5E7DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva