#5F9DF9#5F9DF9

#5F9DF9 is a light, vivid blue. Relative luminance 0.334; OKLCH L 69.6% C 0.150 H 258.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5F9DF9
RGBrgb(95, 157, 249)
HSLhsl(216, 93%, 67%)
HSVhsv(216, 62%, 98%)
CMYKcmyk(61.8%, 36.9%, 0%, 2.4%)
CIE-LABlab(64.47, 7.63, -51.87)
CIE-LCHlch(64.47, 52.43, 278.36°)
OKLaboklab(69.57% -0.031 -0.1473)
OKLCHoklch(69.57% 0.15 258.1)
XYZxyz(33.8691, 33.3832, 94.2629)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DF9 #F9BB5F
analogous
#5FEAF9 #5F9DF9 #6E5FF9
triadic
#5F9DF9 #F95F9D #9DF95F
tetradic
#5F9DF9 #F95FEA #F9BB5F #5FF96E
square
#5F9DF9 #F95FEA #F9BB5F #5FF96E
split-complementary
#5F9DF9 #F96E5F #EAF95F
monochromatic
#085BD6 #2479F7 #5F9DF9 #9AC1FB #D5E5FD

Accessibility & contrast

On white

2.74
#5F9DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#5F9DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9DF9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9DF9#FFFFFF#000000##000000
##5F9DF91.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FD
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#00B2BF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9df9;
/* rgb */ color: rgb(95, 157, 249);
/* oklch */ color: oklch(69.6% 0.150 258.1);
Tailwind
colors: {
  custom: {
    50: '#99b9fc',
    500: '#5f9df9',
    950: '#000000',
  },
}
SCSS
$custom: #5f9df9;
$custom-light: #99b9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9df9",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 215.844,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.15049,
    "h": 258.1
  },
  "luminance": 0.33386
}

Semantic roles & 50–950 ramp

primary
#5F9DF9
secondary
#F2DFC2
accent
#8900E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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