#5F99ED#5F99ED

#5F99ED is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.1% C 0.139 H 257.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5F99ED
RGBrgb(95, 153, 237)
HSLhsl(215, 80%, 65%)
HSVhsv(215, 60%, 93%)
CMYKcmyk(59.9%, 35.4%, 0%, 7.1%)
CIE-LABlab(62.78, 6.03, -47.96)
CIE-LCHlch(62.78, 48.34, 277.17°)
OKLaboklab(68.07% -0.0297 -0.1359)
OKLCHoklch(68.07% 0.139 257.7)
XYZxyz(31.3912, 31.3270, 84.4968)
Luminance0.3133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99ED #EDB35F
analogous
#5FE0ED #5F99ED #6C5FED
triadic
#5F99ED #ED5F99 #99ED5F
tetradic
#5F99ED #ED5FE0 #EDB35F #5FED6C
square
#5F99ED #ED5FE0 #EDB35F #5FED6C
split-complementary
#5F99ED #ED6C5F #E0ED5F
monochromatic
#1559BC #2876E7 #5F99ED #96BCF3 #CDDFF9

Accessibility & contrast

On white

2.89
#5F99ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5F99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99ED
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99ED#FFFFFF#000000##000000
##5F99ED1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#6292EB
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f99ed;
/* rgb */ color: rgb(95, 153, 237);
/* oklch */ color: oklch(68.1% 0.139 257.7);
Tailwind
colors: {
  custom: {
    50: '#97b6f3',
    500: '#5f99ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f99ed;
$custom-light: #97b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99ed",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 215.493,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68065,
    "c": 0.13908,
    "h": 257.7
  },
  "luminance": 0.3133
}

Semantic roles & 50–950 ramp

primary
#5F99ED
secondary
#ECD8BC
accent
#8609DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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