#5F8EEF#5F8EEF

#5F8EEF is a light, vivid blue. Relative luminance 0.280; OKLCH L 65.9% C 0.154 H 263.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5F8EEF
RGBrgb(95, 142, 239)
HSLhsl(220, 82%, 65%)
HSVhsv(220, 60%, 94%)
CMYKcmyk(60.3%, 40.6%, 0%, 6.3%)
CIE-LABlab(59.90, 13.17, -53.64)
CIE-LCHlch(59.90, 55.23, 283.79°)
OKLaboklab(65.86% -0.0179 -0.1526)
OKLCHoklch(65.86% 0.154 263.3)
XYZxyz(29.9669, 28.0083, 85.4715)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EEF #EFC05F
analogous
#5FD6EF #5F8EEF #785FEF
triadic
#5F8EEF #EF5F8E #8EEF5F
tetradic
#5F8EEF #EF5FD6 #EFC05F #5FEF78
square
#5F8EEF #EF5FD6 #EFC05F #5FEF78
split-complementary
#5F8EEF #EF785F #D6EF5F
monochromatic
#134CC0 #2767E9 #5F8EEF #97B5F5 #CEDDFA

Accessibility & contrast

On white

3.18
#5F8EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#5F8EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EEF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EEF#FFFFFF#000000##000000
##5F8EEF1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#00A4B3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8eef;
/* rgb */ color: rgb(95, 142, 239);
/* oklch */ color: oklch(65.9% 0.154 263.3);
Tailwind
colors: {
  custom: {
    50: '#98aef5',
    500: '#5f8eef',
    950: '#000000',
  },
}
SCSS
$custom: #5f8eef;
$custom-light: #98aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8eef",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 220.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.15366,
    "h": 263.3
  },
  "luminance": 0.28011
}

Semantic roles & 50–950 ramp

primary
#5F8EEF
secondary
#EDDDBD
accent
#9807DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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