#405F82#405F82

#405F82 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.7% C 0.068 H 252.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#405F82
RGBrgb(64, 95, 130)
HSLhsl(212, 34%, 38%)
HSVhsv(212, 51%, 51%)
CMYKcmyk(50.8%, 26.9%, 0%, 49%)
CIE-LABlab(39.39, -0.86, -23.06)
CIE-LCHlch(39.39, 23.07, 267.86°)
OKLaboklab(47.68% -0.0207 -0.0645)
OKLCHoklch(47.68% 0.068 252.2)
XYZxyz(10.2344, 10.8854, 22.6765)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F82 #826340
analogous
#408082 #405F82 #424082
triadic
#405F82 #82405F #5F8240
tetradic
#405F82 #824080 #826340 #408242
square
#405F82 #824080 #826340 #408242
split-complementary
#405F82 #824240 #808240
monochromatic
#182330 #2C4159 #405F82 #547DAB #7D9CBF

Accessibility & contrast

On white

6.61
#405F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#405F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405F82
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F82#FFFFFF#000000##FFFFFF
##405F821.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516084
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#22676B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405f82;
/* rgb */ color: rgb(64, 95, 130);
/* oklch */ color: oklch(47.7% 0.068 252.2);
Tailwind
colors: {
  custom: {
    50: '#798ca6',
    500: '#405f82',
    950: '#000000',
  },
}
SCSS
$custom: #405f82;
$custom-light: #798ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#405f82",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 211.818,
    "s": 34.021,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.0677,
    "h": 252.2
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#405F82
secondary
#AA9174
accent
#975ECA
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090C0F
muted
#7B7D7F

Preview Lab

Preview with #405F82

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

Preview Lab → · Contrast checker → · Palette generator →

#405F82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva