#5F9DFC#5F9DFC

#5F9DFC is a light, vivid blue. Relative luminance 0.336; OKLCH L 69.7% C 0.154 H 258.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5F9DFC
RGBrgb(95, 157, 252)
HSLhsl(216, 96%, 68%)
HSVhsv(216, 62%, 99%)
CMYKcmyk(62.3%, 37.7%, 0%, 1.2%)
CIE-LABlab(64.62, 8.61, -53.27)
CIE-LCHlch(64.62, 53.96, 279.18°)
OKLaboklab(69.74% -0.0303 -0.1514)
OKLCHoklch(69.74% 0.154 258.7)
XYZxyz(34.3407, 33.5719, 96.7469)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9DFC #FCBE5F
analogous
#5FEBFC #5F9DFC #6F5FFC
triadic
#5F9DFC #FC5F9D #9DFC5F
tetradic
#5F9DFC #FC5FEB #FCBE5F #5FFC6F
square
#5F9DFC #FC5FEB #FCBE5F #5FFC6F
split-complementary
#5F9DFC #FC6F5F #EBFC5F
monochromatic
#045ADC #2378FB #5F9DFC #9BC2FD #D7E7FE

Accessibility & contrast

On white

2.72
#5F9DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#5F9DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9DFC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9DFC#FFFFFF#000000##000000
##5F9DFC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#00B3C0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9dfc;
/* rgb */ color: rgb(95, 157, 252);
/* oklch */ color: oklch(69.7% 0.154 258.7);
Tailwind
colors: {
  custom: {
    50: '#99b9fe',
    500: '#5f9dfc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9dfc;
$custom-light: #99b9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9dfc",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 252
  },
  "hsl": {
    "h": 216.306,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69739,
    "c": 0.15437,
    "h": 258.7
  },
  "luminance": 0.33575
}

Semantic roles & 50–950 ramp

primary
#5F9DFC
secondary
#F3E0C3
accent
#8B00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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