#5F91ED#5F91ED

#5F91ED is a light, vivid blue. Relative luminance 0.288; OKLCH L 66.4% C 0.148 H 261.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5F91ED
RGBrgb(95, 145, 237)
HSLhsl(219, 80%, 65%)
HSVhsv(219, 60%, 93%)
CMYKcmyk(59.9%, 38.8%, 0%, 7.1%)
CIE-LABlab(60.60, 10.73, -51.41)
CIE-LCHlch(60.60, 52.52, 281.79°)
OKLaboklab(66.37% -0.0214 -0.1461)
OKLCHoklch(66.37% 0.148 261.7)
XYZxyz(30.1255, 28.7955, 84.0749)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91ED #EDBB5F
analogous
#5FD8ED #5F91ED #745FED
triadic
#5F91ED #ED5F91 #91ED5F
tetradic
#5F91ED #ED5FD8 #EDBB5F #5FED74
square
#5F91ED #ED5FD8 #EDBB5F #5FED74
split-complementary
#5F91ED #ED745F #D8ED5F
monochromatic
#1550BC #286BE7 #5F91ED #96B7F3 #CDDDF9

Accessibility & contrast

On white

3.11
#5F91ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#5F91ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91ED
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91ED#FFFFFF#000000##000000
##5F91ED1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#00A6B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5f91ed;
/* rgb */ color: rgb(95, 145, 237);
/* oklch */ color: oklch(66.4% 0.148 261.7);
Tailwind
colors: {
  custom: {
    50: '#97b0f3',
    500: '#5f91ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f91ed;
$custom-light: #97b0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91ed",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 218.873,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6637,
    "c": 0.14762,
    "h": 261.7
  },
  "luminance": 0.28798
}

Semantic roles & 50–950 ramp

primary
#5F91ED
secondary
#ECDBBC
accent
#9209DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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