#5E7CEF#5E7CEF

#5E7CEF is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.175 H 269.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5E7CEF
RGBrgb(94, 124, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 61%, 94%)
CMYKcmyk(60.7%, 48.1%, 0%, 6.3%)
CIE-LABlab(55.10, 23.84, -61.32)
CIE-LCHlch(55.10, 65.79, 291.24°)
OKLaboklab(62.17% -0.0009 -0.1754)
OKLCHoklch(62.17% 0.175 269.7)
XYZxyz(27.3985, 23.0247, 84.6450)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CEF #EFD15E
analogous
#5EC5EF #5E7CEF #885EEF
triadic
#5E7CEF #EF5E7C #7CEF5E
tetradic
#5E7CEF #EF5EC5 #EFD15E #5EEF88
square
#5E7CEF #EF5EC5 #EFD15E #5EEF88
split-complementary
#5E7CEF #EF885E #C5EF5E
monochromatic
#1337C0 #264FE9 #5E7CEF #96A9F5 #CDD7FA

Accessibility & contrast

On white

3.75
#5E7CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5E7CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CEF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CEF#FFFFFF#000000##000000
##5E7CEF1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#247EED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e7cef;
/* rgb */ color: rgb(94, 124, 239);
/* oklch */ color: oklch(62.2% 0.175 269.7);
Tailwind
colors: {
  custom: {
    50: '#98a1f5',
    500: '#5e7cef',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cef;
$custom-light: #98a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cef",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 227.586,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.1754,
    "h": 269.7
  },
  "luminance": 0.23027
}

Semantic roles & 50–950 ramp

primary
#5E7CEF
secondary
#EDE3BC
accent
#B207DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5E7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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