#5B7FAC#5B7FAC

#5B7FAC is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.8% C 0.081 H 254.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5B7FAC
RGBrgb(91, 127, 172)
HSLhsl(213, 33%, 52%)
HSVhsv(213, 47%, 67%)
CMYKcmyk(47.1%, 26.2%, 0%, 32.5%)
CIE-LABlab(52.26, -0.12, -27.82)
CIE-LCHlch(52.26, 27.82, 269.76°)
OKLaboklab(58.8% -0.0216 -0.0777)
OKLCHoklch(58.8% 0.081 254.5)
XYZxyz(19.3477, 20.3802, 41.9360)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FAC #AC885B
analogous
#5BA8AC #5B7FAC #605BAC
triadic
#5B7FAC #AC5B7F #7FAC5B
tetradic
#5B7FAC #AC5BA8 #AC885B #5BAC60
square
#5B7FAC #AC5BA8 #AC885B #5BAC60
split-complementary
#5B7FAC #AC605B #A8AC5B
monochromatic
#2F445D #446186 #5B7FAC #849FC1 #ACBED5

Accessibility & contrast

On white

4.14
#5B7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5B7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FAC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FAC#FFFFFF#000000##000000
##5B7FAC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AE
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#39898F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b7fac;
/* rgb */ color: rgb(91, 127, 172);
/* oklch */ color: oklch(58.8% 0.081 254.5);
Tailwind
colors: {
  custom: {
    50: '#8da3c5',
    500: '#5b7fac',
    950: '#000000',
  },
}
SCSS
$custom: #5b7fac;
$custom-light: #8da3c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7fac",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 213.333,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.08063,
    "h": 254.5
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#5B7FAC
secondary
#C3B3A0
accent
#9A5FC9
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5B7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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