#5F9FFC#5F9FFC

#5F9FFC is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.2% C 0.152 H 257.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5F9FFC
RGBrgb(95, 159, 252)
HSLhsl(216, 96%, 68%)
HSVhsv(216, 62%, 99%)
CMYKcmyk(62.3%, 36.9%, 0%, 1.2%)
CIE-LABlab(65.16, 7.45, -52.41)
CIE-LCHlch(65.16, 52.94, 278.09°)
OKLaboklab(70.16% -0.0323 -0.1488)
OKLCHoklch(70.16% 0.152 257.8)
XYZxyz(34.6819, 34.2542, 96.8606)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9FFC #FCBC5F
analogous
#5FEEFC #5F9FFC #6D5FFC
triadic
#5F9FFC #FC5F9F #9FFC5F
tetradic
#5F9FFC #FC5FEE #FCBC5F #5FFC6D
square
#5F9FFC #FC5FEE #FCBC5F #5FFC6D
split-complementary
#5F9FFC #FC6D5F #EEFC5F
monochromatic
#045CDC #237BFB #5F9FFC #9BC3FD #D7E7FE

Accessibility & contrast

On white

2.67
#5F9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#5F9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9FFC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9FFC#FFFFFF#000000##000000
##5F9FFC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#00B4C1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5f9ffc;
/* rgb */ color: rgb(95, 159, 252);
/* oklch */ color: oklch(70.2% 0.152 257.8);
Tailwind
colors: {
  custom: {
    50: '#99bafe',
    500: '#5f9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ffc;
$custom-light: #99bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ffc",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 215.541,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.15229,
    "h": 257.8
  },
  "luminance": 0.34257
}

Semantic roles & 50–950 ramp

primary
#5F9FFC
secondary
#F3E0C3
accent
#8800E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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