#5E7CF4#5E7CF4

#5E7CF4 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.5% C 0.182 H 269.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5E7CF4
RGBrgb(94, 124, 244)
HSLhsl(228, 87%, 66%)
HSVhsv(228, 61%, 96%)
CMYKcmyk(61.5%, 49.2%, 0%, 4.3%)
CIE-LABlab(55.40, 25.50, -63.60)
CIE-LCHlch(55.40, 68.52, 291.85°)
OKLaboklab(62.5% -0.0003 -0.1821)
OKLCHoklch(62.5% 0.182 269.9)
XYZxyz(28.1474, 23.3242, 88.5891)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CF4 #F4D65E
analogous
#5EC7F4 #5E7CF4 #8B5EF4
triadic
#5E7CF4 #F45E7C #7CF45E
tetradic
#5E7CF4 #F45EC7 #F4D65E #5EF48B
square
#5E7CF4 #F45EC7 #F4D65E #5EF48B
split-complementary
#5E7CF4 #F48B5E #C7F45E
monochromatic
#0E33CA #254DF0 #5E7CF4 #97ABF8 #D1D9FC

Accessibility & contrast

On white

3.71
#5E7CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5E7CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CF4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CF4#FFFFFF#000000##000000
##5E7CF41.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#177EF2
Tritanopia (blue-blind)
#0098AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7cf4;
/* rgb */ color: rgb(94, 124, 244);
/* oklch */ color: oklch(62.5% 0.182 269.9);
Tailwind
colors: {
  custom: {
    50: '#99a1f8',
    500: '#5e7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cf4;
$custom-light: #99a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cf4",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 228,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62501,
    "c": 0.18212,
    "h": 269.9
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#5E7CF4
secondary
#EFE6BE
accent
#B702E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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