#5F91E8#5F91E8

#5F91E8 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.1% C 0.141 H 260.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5F91E8
RGBrgb(95, 145, 232)
HSLhsl(218, 75%, 64%)
HSVhsv(218, 59%, 91%)
CMYKcmyk(59.1%, 37.5%, 0%, 9%)
CIE-LABlab(60.34, 9.10, -49.05)
CIE-LCHlch(60.34, 49.89, 280.51°)
OKLaboklab(66.09% -0.0225 -0.1391)
OKLCHoklch(66.09% 0.141 260.8)
XYZxyz(29.4051, 28.5074, 80.2812)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91E8 #E8B65F
analogous
#5FD6E8 #5F91E8 #725FE8
triadic
#5F91E8 #E85F91 #91E85F
tetradic
#5F91E8 #E85FD6 #E8B65F #5FE872
square
#5F91E8 #E85FD6 #E8B65F #5FE872
split-complementary
#5F91E8 #E8725F #D6E85F
monochromatic
#1A52B3 #296CE0 #5F91E8 #95B6F0 #CADBF7

Accessibility & contrast

On white

3.13
#5F91E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5F91E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91E8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91E8#FFFFFF#000000##000000
##5F91E81.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EC
Deuteranopia (green-blind)
#5A8CE6
Tritanopia (blue-blind)
#00A4B1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5f91e8;
/* rgb */ color: rgb(95, 145, 232);
/* oklch */ color: oklch(66.1% 0.141 260.8);
Tailwind
colors: {
  custom: {
    50: '#97b0f0',
    500: '#5f91e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f91e8;
$custom-light: #97b0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91e8",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 232
  },
  "hsl": {
    "h": 218.102,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66088,
    "c": 0.14096,
    "h": 260.8
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#5F91E8
secondary
#E9D8BA
accent
#8E0ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F91E8

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

Preview Lab → · Contrast checker → · Palette generator →

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