#5F99FC#5F99FC

#5F99FC is a light, vivid blue. Relative luminance 0.322; OKLCH L 68.9% C 0.159 H 260.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5F99FC
RGBrgb(95, 153, 252)
HSLhsl(218, 96%, 68%)
HSVhsv(218, 62%, 99%)
CMYKcmyk(62.3%, 39.3%, 0%, 1.2%)
CIE-LABlab(63.54, 10.95, -54.99)
CIE-LCHlch(63.54, 56.07, 281.26°)
OKLaboklab(68.9% -0.0263 -0.1564)
OKLCHoklch(68.9% 0.159 260.4)
XYZxyz(33.6750, 32.2405, 96.5250)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99FC #FCC25F
analogous
#5FE8FC #5F99FC #735FFC
triadic
#5F99FC #FC5F99 #99FC5F
tetradic
#5F99FC #FC5FE8 #FCC25F #5FFC73
square
#5F99FC #FC5FE8 #FCC25F #5FFC73
split-complementary
#5F99FC #FC735F #E8FC5F
monochromatic
#0454DC #2373FB #5F99FC #9BBFFD #D7E6FE

Accessibility & contrast

On white

2.82
#5F99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#5F99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99FC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99FC#FFFFFF#000000##000000
##5F99FC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f99fc;
/* rgb */ color: rgb(95, 153, 252);
/* oklch */ color: oklch(68.9% 0.159 260.4);
Tailwind
colors: {
  custom: {
    50: '#99b6fe',
    500: '#5f99fc',
    950: '#000000',
  },
}
SCSS
$custom: #5f99fc;
$custom-light: #99b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99fc",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 217.834,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.15864,
    "h": 260.4
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#5F99FC
secondary
#F3E2C3
accent
#9100E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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