#5E7DC7#5E7DC7

#5E7DC7 is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.9% C 0.119 H 265.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5E7DC7
RGBrgb(94, 125, 199)
HSLhsl(222, 48%, 57%)
HSVhsv(222, 53%, 78%)
CMYKcmyk(52.8%, 37.2%, 0%, 22%)
CIE-LABlab(53.13, 10.19, -41.93)
CIE-LCHlch(53.13, 43.15, 283.65°)
OKLaboklab(59.94% -0.0088 -0.1185)
OKLCHoklch(59.94% 0.119 265.7)
XYZxyz(22.2551, 21.1688, 56.9350)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DC7 #C7A85E
analogous
#5EB1C7 #5E7DC7 #745EC7
triadic
#5E7DC7 #C75E7D #7DC75E
tetradic
#5E7DC7 #C75EB1 #C7A85E #5EC774
square
#5E7DC7 #C75EB1 #C7A85E #5EC774
split-complementary
#5E7DC7 #C7745E #B1C75E
monochromatic
#2C447F #3C5DAC #5E7DC7 #8BA2D7 #B9C6E7

Accessibility & contrast

On white

4.01
#5E7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5E7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DC7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DC7#FFFFFF#000000##000000
##5E7DC71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#537BC5
Tritanopia (blue-blind)
#2A8D98
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5e7dc7;
/* rgb */ color: rgb(94, 125, 199);
/* oklch */ color: oklch(59.9% 0.119 265.7);
Tailwind
colors: {
  custom: {
    50: '#92a2d8',
    500: '#5e7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7dc7;
$custom-light: #92a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7dc7",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 222.286,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.11887,
    "h": 265.7
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#5E7DC7
secondary
#D6C9AB
accent
#B050D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0F14
muted
#7E7E83

Preview Lab

Preview with #5E7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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