#5F99F8#5F99F8

#5F99F8 is a light, vivid blue. Relative luminance 0.320; OKLCH L 68.7% C 0.153 H 259.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5F99F8
RGBrgb(95, 153, 248)
HSLhsl(217, 92%, 67%)
HSVhsv(217, 62%, 97%)
CMYKcmyk(61.7%, 38.3%, 0%, 2.7%)
CIE-LABlab(63.33, 9.63, -53.13)
CIE-LCHlch(63.33, 53.99, 280.28°)
OKLaboklab(68.67% -0.0272 -0.151)
OKLCHoklch(68.67% 0.153 259.8)
XYZxyz(33.0478, 31.9896, 93.2218)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99F8 #F8BE5F
analogous
#5FE5F8 #5F99F8 #725FF8
triadic
#5F99F8 #F85F99 #99F85F
tetradic
#5F99F8 #F85FE5 #F8BE5F #5FF872
square
#5F99F8 #F85FE5 #F8BE5F #5FF872
split-complementary
#5F99F8 #F8725F #E5F85F
monochromatic
#0956D3 #2474F5 #5F99F8 #9ABEFB #D4E4FD

Accessibility & contrast

On white

2.84
#5F99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#5F99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99F8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99F8#FFFFFF#000000##000000
##5F99F81.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#00AFBD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f99f8;
/* rgb */ color: rgb(95, 153, 248);
/* oklch */ color: oklch(68.7% 0.153 259.8);
Tailwind
colors: {
  custom: {
    50: '#99b6fb',
    500: '#5f99f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f99f8;
$custom-light: #99b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99f8",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 217.255,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68674,
    "c": 0.15342,
    "h": 259.8
  },
  "luminance": 0.31993
}

Semantic roles & 50–950 ramp

primary
#5F99F8
secondary
#F2DFC1
accent
#8F00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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