#5D7EA7#5D7EA7

#5D7EA7 is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.074 H 254.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5D7EA7
RGBrgb(93, 126, 167)
HSLhsl(213, 30%, 51%)
HSVhsv(213, 44%, 65%)
CMYKcmyk(44.3%, 24.6%, 0%, 34.5%)
CIE-LABlab(51.88, -0.50, -25.51)
CIE-LCHlch(51.88, 25.52, 268.88°)
OKLaboklab(58.46% -0.02 -0.071)
OKLCHoklch(58.46% 0.074 254.3)
XYZxyz(18.9478, 20.0377, 39.4210)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7EA7 #A7865D
analogous
#5DA3A7 #5D7EA7 #615DA7
triadic
#5D7EA7 #A75D7E #7EA75D
tetradic
#5D7EA7 #A75DA3 #A7865D #5DA761
square
#5D7EA7 #A75DA3 #A7865D #5DA761
split-complementary
#5D7EA7 #A7615D #A3A75D
monochromatic
#304359 #466081 #5D7EA7 #859EBD #ACBDD2

Accessibility & contrast

On white

4.19
#5D7EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5D7EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7EA7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7EA7#FFFFFF#000000##000000
##5D7EA71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d7ea7;
/* rgb */ color: rgb(93, 126, 167);
/* oklch */ color: oklch(58.5% 0.074 254.3);
Tailwind
colors: {
  custom: {
    50: '#8ea3c1',
    500: '#5d7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ea7;
$custom-light: #8ea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ea7",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 213.243,
    "s": 29.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.0738,
    "h": 254.3
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#5D7EA7
secondary
#C0B2A0
accent
#9962C6
background
#F8FAFB
surface
#F0F3F7
border
#CBCDD0
text
#0D0F12
muted
#7D7F81

Preview Lab

Preview with #5D7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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