#5F99EC#5F99EC

#5F99EC is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.0% C 0.138 H 257.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5F99EC
RGBrgb(95, 153, 236)
HSLhsl(215, 79%, 65%)
HSVhsv(215, 60%, 93%)
CMYKcmyk(59.7%, 35.2%, 0%, 7.5%)
CIE-LABlab(62.73, 5.71, -47.48)
CIE-LCHlch(62.73, 47.83, 276.86°)
OKLaboklab(68.01% -0.03 -0.1345)
OKLCHoklch(68.01% 0.138 257.4)
XYZxyz(31.2455, 31.2687, 83.7295)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99EC #ECB25F
analogous
#5FE0EC #5F99EC #6B5FEC
triadic
#5F99EC #EC5F99 #99EC5F
tetradic
#5F99EC #EC5FE0 #ECB25F #5FEC6B
square
#5F99EC #EC5FE0 #ECB25F #5FEC6B
split-complementary
#5F99EC #EC6B5F #E0EC5F
monochromatic
#165ABA #2876E6 #5F99EC #96BCF2 #CCDFF9

Accessibility & contrast

On white

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

On black

7.25
#5F99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99EC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99EC#FFFFFF#000000##000000
##5F99EC1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#00ACB7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f99ec;
/* rgb */ color: rgb(95, 153, 236);
/* oklch */ color: oklch(68.0% 0.138 257.4);
Tailwind
colors: {
  custom: {
    50: '#97b6f2',
    500: '#5f99ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f99ec;
$custom-light: #97b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99ec",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 215.319,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.13779,
    "h": 257.4
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#5F99EC
secondary
#EBD8BB
accent
#850ADB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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