#5F99FE#5F99FE

#5F99FE is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.0% C 0.161 H 260.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5F99FE
RGBrgb(95, 153, 254)
HSLhsl(218, 99%, 68%)
HSVhsv(218, 63%, 100%)
CMYKcmyk(62.6%, 39.8%, 0%, 0.4%)
CIE-LABlab(63.65, 11.61, -55.91)
CIE-LCHlch(63.65, 57.11, 281.73°)
OKLaboklab(69.02% -0.0259 -0.1592)
OKLCHoklch(69.02% 0.161 260.7)
XYZxyz(33.9936, 32.3680, 98.2029)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99FE #FEC45F
analogous
#5FE9FE #5F99FE #745FFE
triadic
#5F99FE #FE5F99 #99FE5F
tetradic
#5F99FE #FE5FE9 #FEC45F #5FFE74
square
#5F99FE #FE5FE9 #FEC45F #5FFE74
split-complementary
#5F99FE #FE745F #E9FE5F
monochromatic
#0153E1 #2272FE #5F99FE #9CC0FE #D9E7FF

Accessibility & contrast

On white

2.81
#5F99FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5F99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99FE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99FE#FFFFFF#000000##000000
##5F99FE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#5593FC
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f99fe;
/* rgb */ color: rgb(95, 153, 254);
/* oklch */ color: oklch(69.0% 0.161 260.7);
Tailwind
colors: {
  custom: {
    50: '#9ab6ff',
    500: '#5f99fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f99fe;
$custom-light: #9ab6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99fe",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 218.113,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69016,
    "c": 0.16125,
    "h": 260.7
  },
  "luminance": 0.32371
}

Semantic roles & 50–950 ramp

primary
#5F99FE
secondary
#F4E3C4
accent
#9200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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