#5E7CD4#5E7CD4

#5E7CD4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.5% C 0.138 H 267.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5E7CD4
RGBrgb(94, 124, 212)
HSLhsl(225, 58%, 60%)
HSVhsv(225, 56%, 83%)
CMYKcmyk(55.7%, 41.5%, 0%, 16.9%)
CIE-LABlab(53.54, 14.97, -48.66)
CIE-LCHlch(53.54, 50.91, 287.10°)
OKLaboklab(60.48% -0.005 -0.1382)
OKLCHoklch(60.48% 0.138 267.9)
XYZxyz(23.7034, 21.5467, 65.1844)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CD4 #D4B65E
analogous
#5EB7D4 #5E7CD4 #7B5ED4
triadic
#5E7CD4 #D45E7C #7CD45E
tetradic
#5E7CD4 #D45EB7 #D4B65E #5ED47B
square
#5E7CD4 #D45EB7 #D4B65E #5ED47B
split-complementary
#5E7CD4 #D47B5E #B7D45E
monochromatic
#274291 #3458C1 #5E7CD4 #8EA3E1 #BFCBEE

Accessibility & contrast

On white

3.96
#5E7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5E7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CD4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CD4#FFFFFF#000000##000000
##5E7CD41.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D7
Deuteranopia (green-blind)
#487BD2
Tritanopia (blue-blind)
#158F9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7cd4;
/* rgb */ color: rgb(94, 124, 212);
/* oklch */ color: oklch(60.5% 0.138 267.9);
Tailwind
colors: {
  custom: {
    50: '#94a1e2',
    500: '#5e7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cd4;
$custom-light: #94a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cd4",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 224.746,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.60478,
    "c": 0.13832,
    "h": 267.9
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#5E7CD4
secondary
#DED2B0
accent
#BA47E1
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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