#5E7FD2#5E7FD2

#5E7FD2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.0% C 0.132 H 266.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5E7FD2
RGBrgb(94, 127, 210)
HSLhsl(223, 56%, 60%)
HSVhsv(223, 55%, 82%)
CMYKcmyk(55.2%, 39.5%, 0%, 17.6%)
CIE-LABlab(54.25, 12.50, -46.41)
CIE-LCHlch(54.25, 48.06, 285.08°)
OKLaboklab(60.99% -0.0087 -0.1316)
OKLCHoklch(60.99% 0.132 266.2)
XYZxyz(23.8344, 22.2098, 63.9912)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FD2 #D2B15E
analogous
#5EB9D2 #5E7FD2 #775ED2
triadic
#5E7FD2 #D25E7F #7FD25E
tetradic
#5E7FD2 #D25EB9 #D2B15E #5ED277
square
#5E7FD2 #D25EB9 #D2B15E #5ED277
split-complementary
#5E7FD2 #D2775E #B9D25E
monochromatic
#28458E #355CBE #5E7FD2 #8EA5DF #BECBED

Accessibility & contrast

On white

3.86
#5E7FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5E7FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FD2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FD2#FFFFFF#000000##000000
##5E7FD21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D87D5
Deuteranopia (green-blind)
#4E7DD0
Tritanopia (blue-blind)
#18919E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7fd2;
/* rgb */ color: rgb(94, 127, 210);
/* oklch */ color: oklch(61.0% 0.132 266.2);
Tailwind
colors: {
  custom: {
    50: '#94a3e0',
    500: '#5e7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fd2;
$custom-light: #94a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fd2",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 222.931,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.1319,
    "h": 266.2
  },
  "luminance": 0.22212
}

Semantic roles & 50–950 ramp

primary
#5E7FD2
secondary
#DCD0AF
accent
#B548E0
background
#F9FAFD
surface
#F2F3FB
border
#CCCDD4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5E7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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