#5F91EE#5F91EE

#5F91EE is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.4% C 0.149 H 261.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5F91EE
RGBrgb(95, 145, 238)
HSLhsl(219, 81%, 65%)
HSVhsv(219, 60%, 93%)
CMYKcmyk(60.1%, 39.1%, 0%, 6.7%)
CIE-LABlab(60.65, 11.06, -51.88)
CIE-LCHlch(60.65, 53.05, 282.03°)
OKLaboklab(66.43% -0.0212 -0.1474)
OKLCHoklch(66.43% 0.149 261.8)
XYZxyz(30.2720, 28.8541, 84.8465)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91EE #EEBC5F
analogous
#5FD8EE #5F91EE #745FEE
triadic
#5F91EE #EE5F91 #91EE5F
tetradic
#5F91EE #EE5FD8 #EEBC5F #5FEE74
square
#5F91EE #EE5FD8 #EEBC5F #5FEE74
split-complementary
#5F91EE #EE745F #D8EE5F
monochromatic
#1450BE #286BE8 #5F91EE #96B7F4 #CEDDFA

Accessibility & contrast

On white

3.10
#5F91EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5F91EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91EE
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91EE#FFFFFF#000000##000000
##5F91EE1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F2
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f91ee;
/* rgb */ color: rgb(95, 145, 238);
/* oklch */ color: oklch(66.4% 0.149 261.8);
Tailwind
colors: {
  custom: {
    50: '#98b0f4',
    500: '#5f91ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f91ee;
$custom-light: #98b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91ee",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 219.021,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66427,
    "c": 0.14896,
    "h": 261.8
  },
  "luminance": 0.28857
}

Semantic roles & 50–950 ramp

primary
#5F91EE
secondary
#ECDCBC
accent
#9308DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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