#5D7EA6#5D7EA6

#5D7EA6 is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.072 H 253.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5D7EA6
RGBrgb(93, 126, 166)
HSLhsl(213, 29%, 51%)
HSVhsv(213, 44%, 65%)
CMYKcmyk(44%, 24.1%, 0%, 34.9%)
CIE-LABlab(51.84, -0.79, -25.00)
CIE-LCHlch(51.84, 25.01, 268.18°)
OKLaboklab(58.42% -0.0203 -0.0696)
OKLCHoklch(58.42% 0.072 253.7)
XYZxyz(18.8557, 20.0009, 38.9360)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EA6 #A6855D
analogous
#5DA2A6 #5D7EA6 #605DA6
triadic
#5D7EA6 #A65D7E #7EA65D
tetradic
#5D7EA6 #A65DA2 #A6855D #5DA660
square
#5D7EA6 #A65DA2 #A6855D #5DA660
split-complementary
#5D7EA6 #A6605D #A2A65D
monochromatic
#304258 #466080 #5D7EA6 #849DBC #ACBDD1

Accessibility & contrast

On white

4.20
#5D7EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5D7EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EA6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EA6#FFFFFF#000000##000000
##5D7EA61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F80A8
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#41878C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d7ea6;
/* rgb */ color: rgb(93, 126, 166);
/* oklch */ color: oklch(58.4% 0.072 253.7);
Tailwind
colors: {
  custom: {
    50: '#8ea3c0',
    500: '#5d7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ea6;
$custom-light: #8ea3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ea6",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 212.877,
    "s": 29.084,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.07248,
    "h": 253.7
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#5D7EA6
secondary
#C0B19F
accent
#9962C5
background
#F8FAFB
surface
#F0F3F7
border
#CBCDD0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5D7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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