#5F99EA#5F99EA

#5F99EA is a light, vivid cyan. Relative luminance 0.312; OKLCH L 67.9% C 0.135 H 257.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5F99EA
RGBrgb(95, 153, 234)
HSLhsl(215, 77%, 65%)
HSVhsv(215, 59%, 92%)
CMYKcmyk(59.4%, 34.6%, 0%, 8.2%)
CIE-LABlab(62.64, 5.06, -46.54)
CIE-LCHlch(62.64, 46.81, 276.21°)
OKLaboklab(67.9% -0.0305 -0.1317)
OKLCHoklch(67.9% 0.135 257)
XYZxyz(30.9566, 31.1531, 82.2077)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F99EA #EAB05F
analogous
#5FDFEA #5F99EA #6B5FEA
triadic
#5F99EA #EA5F99 #99EA5F
tetradic
#5F99EA #EA5FDF #EAB05F #5FEA6B
square
#5F99EA #EA5FDF #EAB05F #5FEA6B
split-complementary
#5F99EA #EA6B5F #DFEA5F
monochromatic
#185AB7 #2977E3 #5F99EA #95BBF1 #CBDEF8

Accessibility & contrast

On white

2.90
#5F99EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5F99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F99EA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F99EA#FFFFFF#000000##000000
##5F99EA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FED
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f99ea;
/* rgb */ color: rgb(95, 153, 234);
/* oklch */ color: oklch(67.9% 0.135 257.0);
Tailwind
colors: {
  custom: {
    50: '#97b6f1',
    500: '#5f99ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f99ea;
$custom-light: #97b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f99ea",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 214.964,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67903,
    "c": 0.1352,
    "h": 257
  },
  "luminance": 0.31156
}

Semantic roles & 50–950 ramp

primary
#5F99EA
secondary
#EAD6BA
accent
#840CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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