#5F9EF9#5F9EF9

#5F9EF9 is a light, vivid blue. Relative luminance 0.337; OKLCH L 69.8% C 0.149 H 257.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5F9EF9
RGBrgb(95, 158, 249)
HSLhsl(215, 93%, 67%)
HSVhsv(215, 62%, 98%)
CMYKcmyk(61.8%, 36.5%, 0%, 2.4%)
CIE-LABlab(64.74, 7.05, -51.44)
CIE-LCHlch(64.74, 51.92, 277.80°)
OKLaboklab(69.78% -0.032 -0.146)
OKLCHoklch(69.78% 0.149 257.6)
XYZxyz(34.0390, 33.7230, 94.3195)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EF9 #F9BA5F
analogous
#5FEBF9 #5F9EF9 #6D5FF9
triadic
#5F9EF9 #F95F9E #9EF95F
tetradic
#5F9EF9 #F95FEB #F9BA5F #5FF96D
square
#5F9EF9 #F95FEB #F9BA5F #5FF96D
split-complementary
#5F9EF9 #F96D5F #EBF95F
monochromatic
#085CD6 #247AF7 #5F9EF9 #9AC2FB #D5E6FD

Accessibility & contrast

On white

2.71
#5F9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5F9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EF9
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EF9#FFFFFF#000000##000000
##5F9EF91.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FD
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#00B3C0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9ef9;
/* rgb */ color: rgb(95, 158, 249);
/* oklch */ color: oklch(69.8% 0.149 257.6);
Tailwind
colors: {
  custom: {
    50: '#99bafc',
    500: '#5f9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ef9;
$custom-light: #99bafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ef9",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 215.455,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69784,
    "c": 0.14946,
    "h": 257.6
  },
  "luminance": 0.33726
}

Semantic roles & 50–950 ramp

primary
#5F9EF9
secondary
#F2DEC2
accent
#8800E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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