#5F91CC#5F91CC

#5F91CC is a light, moderate cyan. Relative luminance 0.270; OKLCH L 64.6% C 0.104 H 253.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F91CC
RGBrgb(95, 145, 204)
HSLhsl(212, 52%, 59%)
HSVhsv(212, 53%, 80%)
CMYKcmyk(53.4%, 28.9%, 0%, 20%)
CIE-LABlab(59.01, 0.16, -35.52)
CIE-LCHlch(59.01, 35.52, 270.26°)
OKLaboklab(64.61% -0.0298 -0.0998)
OKLCHoklch(64.61% 0.104 253.4)
XYZxyz(25.7400, 27.0413, 60.9781)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F91CC #CC9A5F
analogous
#5FC7CC #5F91CC #635FCC
triadic
#5F91CC #CC5F91 #91CC5F
tetradic
#5F91CC #CC5FC7 #CC9A5F #5FCC63
square
#5F91CC #CC5FC7 #CC9A5F #5FCC63
split-complementary
#5F91CC #CC635F #C7CC5F
monochromatic
#2B5586 #3972B4 #5F91CC #8DB1DB #BCD1EA

Accessibility & contrast

On white

3.28
#5F91CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5F91CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F91CC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F91CC#FFFFFF#000000##000000
##5F91CC1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#1F9EA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f91cc;
/* rgb */ color: rgb(95, 145, 204);
/* oklch */ color: oklch(64.6% 0.104 253.4);
Tailwind
colors: {
  custom: {
    50: '#93b1db',
    500: '#5f91cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f91cc;
$custom-light: #93b1db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f91cc",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 212.477,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.10413,
    "h": 253.4
  },
  "luminance": 0.27043
}

Semantic roles & 50–950 ramp

primary
#5F91CC
secondary
#D9C5AE
accent
#9A4DDB
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F91CC

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

Preview Lab → · Contrast checker → · Palette generator →

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