#5F99EF#5F99EF

#5F99EF is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.142 H 258.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5F99EF
RGBrgb(95, 153, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 60%, 94%)
CMYKcmyk(60.3%, 36%, 0%, 6.3%)
CIE-LABlab(62.88, 6.69, -48.90)
CIE-LCHlch(62.88, 49.36, 277.78°)
OKLaboklab(68.17% -0.0292 -0.1386)
OKLCHoklch(68.17% 0.142 258.1)
XYZxyz(31.6850, 31.4445, 86.0443)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99EF #EFB55F
analogous
#5FE1EF #5F99EF #6D5FEF
triadic
#5F99EF #EF5F99 #99EF5F
tetradic
#5F99EF #EF5FE1 #EFB55F #5FEF6D
square
#5F99EF #EF5FE1 #EFB55F #5FEF6D
split-complementary
#5F99EF #EF6D5F #E1EF5F
monochromatic
#1359C0 #2776E9 #5F99EF #97BCF5 #CEE0FA

Accessibility & contrast

On white

2.88
#5F99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5F99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99EF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99EF#FFFFFF#000000##000000
##5F99EF1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f99ef;
/* rgb */ color: rgb(95, 153, 239);
/* oklch */ color: oklch(68.2% 0.142 258.1);
Tailwind
colors: {
  custom: {
    50: '#98b6f4',
    500: '#5f99ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f99ef;
$custom-light: #98b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99ef",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 215.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.14168,
    "h": 258.1
  },
  "luminance": 0.31447
}

Semantic roles & 50–950 ramp

primary
#5F99EF
secondary
#EDDABD
accent
#8807DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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