#405871#405871

#405871 is a mid, muted cyan. Relative luminance 0.093; OKLCH L 45.1% C 0.051 H 250.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#405871
RGBrgb(64, 88, 113)
HSLhsl(211, 28%, 35%)
HSVhsv(211, 43%, 44%)
CMYKcmyk(43.4%, 22.1%, 0%, 55.7%)
CIE-LABlab(36.48, -1.89, -17.11)
CIE-LCHlch(36.48, 17.22, 263.70°)
OKLaboklab(45.15% -0.0173 -0.0475)
OKLCHoklch(45.15% 0.051 250)
XYZxyz(8.5837, 9.2612, 16.9549)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405871 #715940
analogous
#407171 #405871 #404071
triadic
#405871 #714058 #587140
tetradic
#405871 #714071 #715940 #407140
square
#405871 #714071 #715940 #407140
split-complementary
#405871 #714040 #717140
monochromatic
#141B23 #2A3A4A #405871 #567698 #7995B3

Accessibility & contrast

On white

7.36
#405871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405871
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405871#FFFFFF#000000##FFFFFF
##4058711.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#2E5E60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405871;
/* rgb */ color: rgb(64, 88, 113);
/* oklch */ color: oklch(45.1% 0.051 250.0);
Tailwind
colors: {
  custom: {
    50: '#77879a',
    500: '#405871',
    950: '#000000',
  },
}
SCSS
$custom: #405871;
$custom-light: #77879a;
$custom-dark: #000000;
JSON
{
  "hex": "#405871",
  "rgb": {
    "r": 64,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 210.612,
    "s": 27.684,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.0505,
    "h": 250
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#405871
secondary
#9E876F
accent
#9564C4
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #405871

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

Preview Lab → · Contrast checker → · Palette generator →

#405871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva