#5F88EA#5F88EA

#5F88EA is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.3% C 0.154 H 265.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F88EA
RGBrgb(95, 136, 234)
HSLhsl(222, 77%, 65%)
HSVhsv(222, 59%, 92%)
CMYKcmyk(59.4%, 41.9%, 0%, 8.2%)
CIE-LABlab(58.02, 15.11, -53.86)
CIE-LCHlch(58.02, 55.94, 285.67°)
OKLaboklab(64.32% -0.0127 -0.1533)
OKLCHoklch(64.32% 0.154 265.2)
XYZxyz(28.3697, 25.9793, 81.3454)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88EA #EAC15F
analogous
#5FCEEA #5F88EA #7C5FEA
triadic
#5F88EA #EA5F88 #88EA5F
tetradic
#5F88EA #EA5FCE #EAC15F #5FEA7C
square
#5F88EA #EA5FCE #EAC15F #5FEA7C
split-complementary
#5F88EA #EA7C5F #CEEA5F
monochromatic
#1847B7 #2960E3 #5F88EA #95B0F1 #CBD8F8

Accessibility & contrast

On white

3.39
#5F88EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F88EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88EA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88EA#FFFFFF#000000##000000
##5F88EA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#009EAE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f88ea;
/* rgb */ color: rgb(95, 136, 234);
/* oklch */ color: oklch(64.3% 0.154 265.2);
Tailwind
colors: {
  custom: {
    50: '#97aaf1',
    500: '#5f88ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f88ea;
$custom-light: #97aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88ea",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 222.302,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.15386,
    "h": 265.2
  },
  "luminance": 0.25982
}

Semantic roles & 50–950 ramp

primary
#5F88EA
secondary
#EADCBA
accent
#9D0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F88EA

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

Preview Lab → · Contrast checker → · Palette generator →

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