#5E7DF4#5E7DF4

#5E7DF4 is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.7% C 0.181 H 269.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5E7DF4
RGBrgb(94, 125, 244)
HSLhsl(228, 87%, 66%)
HSVhsv(228, 61%, 96%)
CMYKcmyk(61.5%, 48.8%, 0%, 4.3%)
CIE-LABlab(55.66, 24.89, -63.19)
CIE-LCHlch(55.66, 67.91, 291.50°)
OKLaboklab(62.7% -0.0013 -0.1809)
OKLCHoklch(62.7% 0.181 269.6)
XYZxyz(28.2733, 23.5761, 88.6311)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DF4 #F4D55E
analogous
#5EC8F4 #5E7DF4 #8A5EF4
triadic
#5E7DF4 #F45E7D #7DF45E
tetradic
#5E7DF4 #F45EC8 #F4D55E #5EF48A
square
#5E7DF4 #F45EC8 #F4D55E #5EF48A
split-complementary
#5E7DF4 #F48A5E #C8F45E
monochromatic
#0E35CA #254FF0 #5E7DF4 #97ABF8 #D1DAFC

Accessibility & contrast

On white

3.67
#5E7DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5E7DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DF4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DF4#FFFFFF#000000##000000
##5E7DF41.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF8
Deuteranopia (green-blind)
#1C7FF2
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7df4;
/* rgb */ color: rgb(94, 125, 244);
/* oklch */ color: oklch(62.7% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#99a2f8',
    500: '#5e7df4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7df4;
$custom-light: #99a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7df4",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 227.6,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.18089,
    "h": 269.6
  },
  "luminance": 0.23579
}

Semantic roles & 50–950 ramp

primary
#5E7DF4
secondary
#EFE5BE
accent
#B502E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5E7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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