#5F99F2#5F99F2

#5F99F2 is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.3% C 0.146 H 258.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5F99F2
RGBrgb(95, 153, 242)
HSLhsl(216, 85%, 66%)
HSVhsv(216, 61%, 95%)
CMYKcmyk(60.7%, 36.8%, 0%, 5.1%)
CIE-LABlab(63.03, 7.66, -50.32)
CIE-LCHlch(63.03, 50.90, 278.66°)
OKLaboklab(68.34% -0.0285 -0.1428)
OKLCHoklch(68.34% 0.146 258.7)
XYZxyz(32.1319, 31.6233, 88.3978)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99F2 #F2B85F
analogous
#5FE2F2 #5F99F2 #6E5FF2
triadic
#5F99F2 #F25F99 #99F25F
tetradic
#5F99F2 #F25FE2 #F2B85F #5FF26E
square
#5F99F2 #F25FE2 #F2B85F #5FF26E
split-complementary
#5F99F2 #F26E5F #E2F25F
monochromatic
#1058C6 #2675ED #5F99F2 #98BDF7 #D0E1FB

Accessibility & contrast

On white

2.87
#5F99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#5F99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99F2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99F2#FFFFFF#000000##000000
##5F99F21.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f99f2;
/* rgb */ color: rgb(95, 153, 242);
/* oklch */ color: oklch(68.3% 0.146 258.7);
Tailwind
colors: {
  custom: {
    50: '#98b6f7',
    500: '#5f99f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f99f2;
$custom-light: #98b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99f2",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 216.327,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68338,
    "c": 0.14558,
    "h": 258.7
  },
  "luminance": 0.31626
}

Semantic roles & 50–950 ramp

primary
#5F99F2
secondary
#EFDBBE
accent
#8A04E1
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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