#5F91EA#5F91EA

#5F91EA is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.2% C 0.144 H 261.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5F91EA
RGBrgb(95, 145, 234)
HSLhsl(218, 77%, 65%)
HSVhsv(218, 59%, 92%)
CMYKcmyk(59.4%, 38%, 0%, 8.2%)
CIE-LABlab(60.45, 9.75, -50.00)
CIE-LCHlch(60.45, 50.94, 281.03°)
OKLaboklab(66.2% -0.0221 -0.1419)
OKLCHoklch(66.2% 0.144 261.2)
XYZxyz(29.6908, 28.6216, 81.7858)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91EA #EAB85F
analogous
#5FD7EA #5F91EA #725FEA
triadic
#5F91EA #EA5F91 #91EA5F
tetradic
#5F91EA #EA5FD7 #EAB85F #5FEA72
square
#5F91EA #EA5FD7 #EAB85F #5FEA72
split-complementary
#5F91EA #EA725F #D7EA5F
monochromatic
#1851B7 #296CE3 #5F91EA #95B6F1 #CBDBF8

Accessibility & contrast

On white

3.12
#5F91EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#5F91EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91EA#FFFFFF#000000##000000
##5F91EA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#00A5B2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f91ea;
/* rgb */ color: rgb(95, 145, 234);
/* oklch */ color: oklch(66.2% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#97b0f1',
    500: '#5f91ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f91ea;
$custom-light: #97b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91ea",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 218.417,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.662,
    "c": 0.14363,
    "h": 261.2
  },
  "luminance": 0.28624
}

Semantic roles & 50–950 ramp

primary
#5F91EA
secondary
#EAD9BA
accent
#8F0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5F91EA

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

Preview Lab → · Contrast checker → · Palette generator →

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