#5F91DC#5F91DC

#5F91DC is a light, vivid blue. Relative luminance 0.279; OKLCH L 65.4% C 0.125 H 258.3°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F91DC
RGBrgb(95, 145, 220)
HSLhsl(216, 64%, 62%)
HSVhsv(216, 57%, 86%)
CMYKcmyk(56.8%, 34.1%, 0%, 13.7%)
CIE-LABlab(59.75, 5.22, -43.32)
CIE-LCHlch(59.75, 43.63, 276.87°)
OKLaboklab(65.43% -0.0254 -0.1224)
OKLCHoklch(65.43% 0.125 258.3)
XYZxyz(27.7585, 27.8487, 71.6088)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91DC #DCAA5F
analogous
#5FD0DC #5F91DC #6C5FDC
triadic
#5F91DC #DC5F91 #91DC5F
tetradic
#5F91DC #DC5FD0 #DCAA5F #5FDC6C
square
#5F91DC #DC5FD0 #DCAA5F #5FDC6C
split-complementary
#5F91DC #DC6C5F #D0DC5F
monochromatic
#23549E #2E6FD0 #5F91DC #91B4E7 #C3D6F2

Accessibility & contrast

On white

3.20
#5F91DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5F91DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91DC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91DC#FFFFFF#000000##000000
##5F91DC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#628BDA
Tritanopia (blue-blind)
#00A2AC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f91dc;
/* rgb */ color: rgb(95, 145, 220);
/* oklch */ color: oklch(65.4% 0.125 258.3);
Tailwind
colors: {
  custom: {
    50: '#95b0e7',
    500: '#5f91dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f91dc;
$custom-light: #95b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91dc",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 216,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.12502,
    "h": 258.3
  },
  "luminance": 0.27851
}

Semantic roles & 50–950 ramp

primary
#5F91DC
secondary
#E3D0B4
accent
#851ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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