#5E7BC7#5E7BC7

#5E7BC7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.121 H 266.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E7BC7
RGBrgb(94, 123, 199)
HSLhsl(223, 48%, 57%)
HSVhsv(223, 53%, 78%)
CMYKcmyk(52.8%, 38.2%, 0%, 22%)
CIE-LABlab(52.58, 11.40, -42.80)
CIE-LCHlch(52.58, 44.29, 284.91°)
OKLaboklab(59.52% -0.0065 -0.1211)
OKLCHoklch(59.52% 0.121 266.9)
XYZxyz(22.0044, 20.6676, 56.8515)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BC7 #C7AA5E
analogous
#5EAFC7 #5E7BC7 #765EC7
triadic
#5E7BC7 #C75E7B #7BC75E
tetradic
#5E7BC7 #C75EAF #C7AA5E #5EC776
square
#5E7BC7 #C75EAF #C7AA5E #5EC776
split-complementary
#5E7BC7 #C7765E #AFC75E
monochromatic
#2C437F #3C5BAC #5E7BC7 #8BA0D7 #B9C5E7

Accessibility & contrast

On white

4.09
#5E7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BC7#FFFFFF#000000##000000
##5E7BC71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#5179C5
Tritanopia (blue-blind)
#2A8B97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e7bc7;
/* rgb */ color: rgb(94, 123, 199);
/* oklch */ color: oklch(59.5% 0.121 266.9);
Tailwind
colors: {
  custom: {
    50: '#92a0d8',
    500: '#5e7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bc7;
$custom-light: #92a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bc7",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 223.429,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59516,
    "c": 0.12127,
    "h": 266.9
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

primary
#5E7BC7
secondary
#D6CAAB
accent
#B250D8
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5E7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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