#5F91FE#5F91FE

#5F91FE is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.4% C 0.170 H 263.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5F91FE
RGBrgb(95, 145, 254)
HSLhsl(221, 99%, 68%)
HSVhsv(221, 63%, 100%)
CMYKcmyk(62.6%, 42.9%, 0%, 0.4%)
CIE-LABlab(61.51, 16.35, -59.31)
CIE-LCHlch(61.51, 61.53, 285.41°)
OKLaboklab(67.37% -0.0182 -0.1692)
OKLCHoklch(67.37% 0.17 263.9)
XYZxyz(32.7279, 29.8365, 97.7810)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91FE #FECC5F
analogous
#5FE0FE #5F91FE #7C5FFE
triadic
#5F91FE #FE5F91 #91FE5F
tetradic
#5F91FE #FE5FE0 #FECC5F #5FFE7C
square
#5F91FE #FE5FE0 #FECC5F #5FFE7C
split-complementary
#5F91FE #FE7C5F #E0FE5F
monochromatic
#0148E1 #2267FE #5F91FE #9CBBFE #D9E5FF

Accessibility & contrast

On white

3.01
#5F91FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5F91FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91FE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91FE#FFFFFF#000000##000000
##5F91FE1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#458EFC
Tritanopia (blue-blind)
#00AABB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f91fe;
/* rgb */ color: rgb(95, 145, 254);
/* oklch */ color: oklch(67.4% 0.170 263.9);
Tailwind
colors: {
  custom: {
    50: '#9ab0ff',
    500: '#5f91fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f91fe;
$custom-light: #9ab0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91fe",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 221.132,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6737,
    "c": 0.1702,
    "h": 263.9
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#5F91FE
secondary
#F4E5C4
accent
#9D00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F91FE

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

Preview Lab → · Contrast checker → · Palette generator →

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