#5F91EB#5F91EB

#5F91EB is a light, vivid blue. Relative luminance 0.287; OKLCH L 66.3% C 0.145 H 261.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5F91EB
RGBrgb(95, 145, 235)
HSLhsl(219, 78%, 65%)
HSVhsv(219, 60%, 92%)
CMYKcmyk(59.6%, 38.3%, 0%, 7.8%)
CIE-LABlab(60.50, 10.08, -50.47)
CIE-LCHlch(60.50, 51.47, 281.29°)
OKLaboklab(66.26% -0.0219 -0.1433)
OKLCHoklch(66.26% 0.145 261.3)
XYZxyz(29.8349, 28.6793, 82.5446)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91EB #EBB95F
analogous
#5FD7EB #5F91EB #735FEB
triadic
#5F91EB #EB5F91 #91EB5F
tetradic
#5F91EB #EB5FD7 #EBB95F #5FEB73
square
#5F91EB #EB5FD7 #EBB95F #5FEB73
split-complementary
#5F91EB #EB735F #D7EB5F
monochromatic
#1751B9 #296CE4 #5F91EB #95B6F2 #CCDCF9

Accessibility & contrast

On white

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

On black

6.74
#5F91EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91EB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91EB#FFFFFF#000000##000000
##5F91EB1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#00A5B3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f91eb;
/* rgb */ color: rgb(95, 145, 235);
/* oklch */ color: oklch(66.3% 0.145 261.3);
Tailwind
colors: {
  custom: {
    50: '#97b0f2',
    500: '#5f91eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f91eb;
$custom-light: #97b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91eb",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 218.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66256,
    "c": 0.14496,
    "h": 261.3
  },
  "luminance": 0.28682
}

Semantic roles & 50–950 ramp

primary
#5F91EB
secondary
#EBDABB
accent
#900BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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