#5F91EF#5F91EF

#5F91EF is a light, vivid blue. Relative luminance 0.289; OKLCH L 66.5% C 0.150 H 262.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5F91EF
RGBrgb(95, 145, 239)
HSLhsl(219, 82%, 65%)
HSVhsv(219, 60%, 94%)
CMYKcmyk(60.3%, 39.3%, 0%, 6.3%)
CIE-LABlab(60.70, 11.39, -52.35)
CIE-LCHlch(60.70, 53.58, 282.27°)
OKLaboklab(66.48% -0.021 -0.1488)
OKLCHoklch(66.48% 0.15 262)
XYZxyz(30.4193, 28.9130, 85.6223)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91EF #EFBD5F
analogous
#5FD9EF #5F91EF #755FEF
triadic
#5F91EF #EF5F91 #91EF5F
tetradic
#5F91EF #EF5FD9 #EFBD5F #5FEF75
square
#5F91EF #EF5FD9 #EFBD5F #5FEF75
split-complementary
#5F91EF #EF755F #D9EF5F
monochromatic
#134FC0 #276BE9 #5F91EF #97B7F5 #CEDDFA

Accessibility & contrast

On white

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

On black

6.78
#5F91EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91EF
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91EF#FFFFFF#000000##000000
##5F91EF1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#548CED
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f91ef;
/* rgb */ color: rgb(95, 145, 239);
/* oklch */ color: oklch(66.5% 0.150 262.0);
Tailwind
colors: {
  custom: {
    50: '#98b0f5',
    500: '#5f91ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f91ef;
$custom-light: #98b0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91ef",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 219.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.15029,
    "h": 262
  },
  "luminance": 0.28916
}

Semantic roles & 50–950 ramp

primary
#5F91EF
secondary
#EDDCBD
accent
#9407DE
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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