#5F8ECA#5F8ECA

#5F8ECA is a light, moderate cyan. Relative luminance 0.260; OKLCH L 63.8% C 0.104 H 255.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5F8ECA
RGBrgb(95, 142, 202)
HSLhsl(214, 50%, 58%)
HSVhsv(214, 53%, 79%)
CMYKcmyk(53%, 29.7%, 0%, 20.8%)
CIE-LABlab(58.08, 1.28, -35.86)
CIE-LCHlch(58.08, 35.88, 272.04°)
OKLaboklab(63.85% -0.0269 -0.1008)
OKLCHoklch(63.85% 0.104 255)
XYZxyz(25.0493, 26.0412, 59.5721)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8ECA #CA9B5F
analogous
#5FC3CA #5F8ECA #655FCA
triadic
#5F8ECA #CA5F8E #8ECA5F
tetradic
#5F8ECA #CA5FC3 #CA9B5F #5FCA65
square
#5F8ECA #CA5FC3 #CA9B5F #5FCA65
split-complementary
#5F8ECA #CA655F #C3CA5F
monochromatic
#2B5283 #3B6FB1 #5F8ECA #8DAED9 #BBCFE8

Accessibility & contrast

On white

3.38
#5F8ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#5F8ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8ECA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8ECA#FFFFFF#000000##000000
##5F8ECA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7691CD
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#249BA3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f8eca;
/* rgb */ color: rgb(95, 142, 202);
/* oklch */ color: oklch(63.8% 0.104 255.0);
Tailwind
colors: {
  custom: {
    50: '#93aeda',
    500: '#5f8eca',
    950: '#000000',
  },
}
SCSS
$custom: #5f8eca;
$custom-light: #93aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8eca",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 202
  },
  "hsl": {
    "h": 213.645,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.1043,
    "h": 255
  },
  "luminance": 0.26043
}

Semantic roles & 50–950 ramp

primary
#5F8ECA
secondary
#D8C5AD
accent
#9C4EDA
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F8ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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