#5E7FB2#5E7FB2

#5E7FB2 is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.3% C 0.087 H 258.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5E7FB2
RGBrgb(94, 127, 178)
HSLhsl(216, 35%, 53%)
HSVhsv(216, 47%, 70%)
CMYKcmyk(47.2%, 28.7%, 0%, 30.2%)
CIE-LABlab(52.70, 2.46, -30.59)
CIE-LCHlch(52.70, 30.69, 274.60°)
OKLaboklab(59.28% -0.0168 -0.0856)
OKLCHoklch(59.28% 0.087 258.9)
XYZxyz(20.2387, 20.7715, 45.0537)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FB2 #B2915E
analogous
#5EA9B2 #5E7FB2 #675EB2
triadic
#5E7FB2 #B25E7F #7FB25E
tetradic
#5E7FB2 #B25EA9 #B2915E #5EB267
square
#5E7FB2 #B25EA9 #B2915E #5EB267
split-complementary
#5E7FB2 #B2675E #A9B25E
monochromatic
#304565 #44618F #5E7FB2 #87A0C6 #B1C1DA

Accessibility & contrast

On white

4.07
#5E7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5E7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FB2#FFFFFF#000000##000000
##5E7FB21.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#3C8A91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e7fb2;
/* rgb */ color: rgb(94, 127, 178);
/* oklch */ color: oklch(59.3% 0.087 258.9);
Tailwind
colors: {
  custom: {
    50: '#90a3c9',
    500: '#5e7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fb2;
$custom-light: #90a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fb2",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 216.429,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.08725,
    "h": 258.9
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#5E7FB2
secondary
#C8BAA4
accent
#A05CCB
background
#F9FAFC
surface
#F1F3F8
border
#CBCDD1
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #5E7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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