#5F9BFC#5F9BFC

#5F9BFC is a light, vivid blue. Relative luminance 0.329; OKLCH L 69.3% C 0.156 H 259.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5F9BFC
RGBrgb(95, 155, 252)
HSLhsl(217, 96%, 68%)
HSVhsv(217, 62%, 99%)
CMYKcmyk(62.3%, 38.5%, 0%, 1.2%)
CIE-LABlab(64.08, 9.78, -54.13)
CIE-LCHlch(64.08, 55.01, 280.24°)
OKLaboklab(69.32% -0.0283 -0.1539)
OKLCHoklch(69.32% 0.156 259.6)
XYZxyz(34.0051, 32.9007, 96.6350)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BFC #FCC05F
analogous
#5FEAFC #5F9BFC #715FFC
triadic
#5F9BFC #FC5F9B #9BFC5F
tetradic
#5F9BFC #FC5FEA #FCC05F #5FFC71
square
#5F9BFC #FC5FEA #FCC05F #5FFC71
split-complementary
#5F9BFC #FC715F #EAFC5F
monochromatic
#0457DC #2375FB #5F9BFC #9BC1FD #D7E6FE

Accessibility & contrast

On white

2.77
#5F9BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#5F9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BFC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BFC#FFFFFF#000000##000000
##5F9BFC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#00B1BF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5f9bfc;
/* rgb */ color: rgb(95, 155, 252);
/* oklch */ color: oklch(69.3% 0.156 259.6);
Tailwind
colors: {
  custom: {
    50: '#99b8fe',
    500: '#5f9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #5f9bfc;
$custom-light: #99b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9bfc",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 217.07,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69319,
    "c": 0.15648,
    "h": 259.6
  },
  "luminance": 0.32904
}

Semantic roles & 50–950 ramp

primary
#5F9BFC
secondary
#F3E1C3
accent
#8E00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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