#5F91E7#5F91E7

#5F91E7 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.0% C 0.140 H 260.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5F91E7
RGBrgb(95, 145, 231)
HSLhsl(218, 74%, 64%)
HSVhsv(218, 59%, 91%)
CMYKcmyk(58.9%, 37.2%, 0%, 9.4%)
CIE-LABlab(60.29, 8.77, -48.58)
CIE-LCHlch(60.29, 49.37, 280.23°)
OKLaboklab(66.03% -0.0227 -0.1378)
OKLCHoklch(66.03% 0.14 260.6)
XYZxyz(29.2635, 28.4507, 79.5352)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91E7 #E7B55F
analogous
#5FD5E7 #5F91E7 #715FE7
triadic
#5F91E7 #E75F91 #91E75F
tetradic
#5F91E7 #E75FD5 #E7B55F #5FE771
square
#5F91E7 #E75FD5 #E7B55F #5FE771
split-complementary
#5F91E7 #E7715F #D5E75F
monochromatic
#1B52B1 #2A6CDF #5F91E7 #94B6EF #C9DAF7

Accessibility & contrast

On white

3.14
#5F91E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#5F91E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91E7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91E7#FFFFFF#000000##000000
##5F91E71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f91e7;
/* rgb */ color: rgb(95, 145, 231);
/* oklch */ color: oklch(66.0% 0.140 260.6);
Tailwind
colors: {
  custom: {
    50: '#97b0ef',
    500: '#5f91e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f91e7;
$custom-light: #97b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91e7",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 231
  },
  "hsl": {
    "h": 217.941,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66032,
    "c": 0.13964,
    "h": 260.6
  },
  "luminance": 0.28453
}

Semantic roles & 50–950 ramp

primary
#5F91E7
secondary
#E9D7B9
accent
#8D0FD6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F91E7

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

Preview Lab → · Contrast checker → · Palette generator →

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