#5E7CB2#5E7CB2

#5E7CB2 is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.6% C 0.090 H 261.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E7CB2
RGBrgb(94, 124, 178)
HSLhsl(219, 35%, 53%)
HSVhsv(219, 47%, 70%)
CMYKcmyk(47.2%, 30.3%, 0%, 30.2%)
CIE-LABlab(51.85, 4.24, -31.92)
CIE-LCHlch(51.85, 32.20, 277.57°)
OKLaboklab(58.61% -0.0131 -0.0894)
OKLCHoklch(58.61% 0.09 261.7)
XYZxyz(19.8570, 20.0081, 44.9265)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CB2 #B2945E
analogous
#5EA6B2 #5E7CB2 #6A5EB2
triadic
#5E7CB2 #B25E7C #7CB25E
tetradic
#5E7CB2 #B25EA6 #B2945E #5EB26A
square
#5E7CB2 #B25EA6 #B2945E #5EB26A
split-complementary
#5E7CB2 #B26A5E #A6B25E
monochromatic
#304365 #445F8F #5E7CB2 #879EC6 #B1BFDA

Accessibility & contrast

On white

4.20
#5E7CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5E7CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CB2#FFFFFF#000000##000000
##5E7CB21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#3C888F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e7cb2;
/* rgb */ color: rgb(94, 124, 178);
/* oklch */ color: oklch(58.6% 0.090 261.7);
Tailwind
colors: {
  custom: {
    50: '#90a1c9',
    500: '#5e7cb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cb2;
$custom-light: #90a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cb2",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 218.571,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5861,
    "c": 0.0904,
    "h": 261.7
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#5E7CB2
secondary
#C8BBA4
accent
#A45CCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0F13
muted
#7E7E82

Preview Lab

Preview with #5E7CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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