#5F99F5#5F99F5

#5F99F5 is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.5% C 0.149 H 259.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5F99F5
RGBrgb(95, 153, 245)
HSLhsl(217, 88%, 67%)
HSVhsv(217, 61%, 96%)
CMYKcmyk(61.2%, 37.6%, 0%, 3.9%)
CIE-LABlab(63.18, 8.65, -51.73)
CIE-LCHlch(63.18, 52.44, 279.49°)
OKLaboklab(68.51% -0.0279 -0.1469)
OKLCHoklch(68.51% 0.15 259.3)
XYZxyz(32.5862, 31.8050, 90.7902)
Luminance0.3181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99F5 #F5BB5F
analogous
#5FE4F5 #5F99F5 #705FF5
triadic
#5F99F5 #F55F99 #99F55F
tetradic
#5F99F5 #F55FE4 #F5BB5F #5FF570
square
#5F99F5 #F55FE4 #F5BB5F #5FF570
split-complementary
#5F99F5 #F5705F #E4F55F
monochromatic
#0D57CD #2574F1 #5F99F5 #99BEF9 #D2E2FC

Accessibility & contrast

On white

2.85
#5F99F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5F99F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99F5
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99F5#FFFFFF#000000##000000
##5F99F51.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1F9
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#00AEBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f99f5;
/* rgb */ color: rgb(95, 153, 245);
/* oklch */ color: oklch(68.5% 0.149 259.3);
Tailwind
colors: {
  custom: {
    50: '#98b6f9',
    500: '#5f99f5',
    950: '#000000',
  },
}
SCSS
$custom: #5f99f5;
$custom-light: #98b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99f5",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 245
  },
  "hsl": {
    "h": 216.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.1495,
    "h": 259.3
  },
  "luminance": 0.31808
}

Semantic roles & 50–950 ramp

primary
#5F99F5
secondary
#F0DDC0
accent
#8D01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F99F5

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

Preview Lab → · Contrast checker → · Palette generator →

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