#5F9CF9#5F9CF9

#5F9CF9 is a light, vivid blue. Relative luminance 0.330; OKLCH L 69.4% C 0.152 H 258.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5F9CF9
RGBrgb(95, 156, 249)
HSLhsl(216, 93%, 67%)
HSVhsv(216, 62%, 98%)
CMYKcmyk(61.8%, 37.3%, 0%, 2.4%)
CIE-LABlab(64.20, 8.21, -52.30)
CIE-LCHlch(64.20, 52.94, 278.92°)
OKLaboklab(69.36% -0.03 -0.1485)
OKLCHoklch(69.36% 0.152 258.6)
XYZxyz(33.7006, 33.0463, 94.2067)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CF9 #F9BC5F
analogous
#5FE9F9 #5F9CF9 #6F5FF9
triadic
#5F9CF9 #F95F9C #9CF95F
tetradic
#5F9CF9 #F95FE9 #F9BC5F #5FF96F
square
#5F9CF9 #F95FE9 #F9BC5F #5FF96F
split-complementary
#5F9CF9 #F96F5F #E9F95F
monochromatic
#0859D6 #2478F7 #5F9CF9 #9AC0FB #D5E5FD

Accessibility & contrast

On white

2.76
#5F9CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#5F9CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CF9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CF9#FFFFFF#000000##000000
##5F9CF91.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FD
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#00B1BF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9cf9;
/* rgb */ color: rgb(95, 156, 249);
/* oklch */ color: oklch(69.4% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#99b8fc',
    500: '#5f9cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5f9cf9;
$custom-light: #99b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9cf9",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 249
  },
  "hsl": {
    "h": 216.234,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.15154,
    "h": 258.6
  },
  "luminance": 0.33049
}

Semantic roles & 50–950 ramp

primary
#5F9CF9
secondary
#F2DFC2
accent
#8B00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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