#5F8EE4#5F8EE4

#5F8EE4 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.2% C 0.139 H 261.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F8EE4
RGBrgb(95, 142, 228)
HSLhsl(219, 71%, 63%)
HSVhsv(219, 58%, 89%)
CMYKcmyk(58.3%, 37.7%, 0%, 10.6%)
CIE-LABlab(59.32, 9.57, -48.45)
CIE-LCHlch(59.32, 49.39, 281.17°)
OKLaboklab(65.23% -0.0202 -0.1374)
OKLCHoklch(65.23% 0.139 261.6)
XYZxyz(28.3911, 27.3779, 77.1721)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EE4 #E4B55F
analogous
#5FD0E4 #5F8EE4 #725FE4
triadic
#5F8EE4 #E45F8E #8EE45F
tetradic
#5F8EE4 #E45FD0 #E4B55F #5FE472
square
#5F8EE4 #E45FD0 #E4B55F #5FE472
split-complementary
#5F8EE4 #E4725F #D0E45F
monochromatic
#1D4FAC #2B69DB #5F8EE4 #93B3ED #C8D8F6

Accessibility & contrast

On white

3.24
#5F8EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5F8EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EE4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EE4#FFFFFF#000000##000000
##5F8EE41.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A96E7
Deuteranopia (green-blind)
#5889E2
Tritanopia (blue-blind)
#00A1AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8ee4;
/* rgb */ color: rgb(95, 142, 228);
/* oklch */ color: oklch(65.2% 0.139 261.6);
Tailwind
colors: {
  custom: {
    50: '#96aeed',
    500: '#5f8ee4',
    950: '#000000',
  },
}
SCSS
$custom: #5f8ee4;
$custom-light: #96aeed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8ee4",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 228
  },
  "hsl": {
    "h": 218.797,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.1389,
    "h": 261.6
  },
  "luminance": 0.2738
}

Semantic roles & 50–950 ramp

primary
#5F8EE4
secondary
#E7D6B8
accent
#8F12D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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