#405F85#405F85

#405F85 is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.8% C 0.072 H 254.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#405F85
RGBrgb(64, 95, 133)
HSLhsl(213, 35%, 39%)
HSVhsv(213, 52%, 52%)
CMYKcmyk(51.9%, 28.6%, 0%, 47.8%)
CIE-LABlab(39.52, 0.11, -24.66)
CIE-LCHlch(39.52, 24.66, 270.26°)
OKLaboklab(47.83% -0.0197 -0.0691)
OKLCHoklch(47.83% 0.072 254.1)
XYZxyz(10.4387, 10.9671, 23.7525)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F85 #856640
analogous
#408185 #405F85 #434085
triadic
#405F85 #85405F #5F8540
tetradic
#405F85 #854081 #856640 #408543
square
#405F85 #854081 #856640 #408543
split-complementary
#405F85 #854340 #818540
monochromatic
#182432 #2C415C #405F85 #557DAD #7E9CC1

Accessibility & contrast

On white

6.58
#405F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#405F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405F85
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F85#FFFFFF#000000##FFFFFF
##405F851.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506187
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#1F686C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #405f85;
/* rgb */ color: rgb(64, 95, 133);
/* oklch */ color: oklch(47.8% 0.072 254.1);
Tailwind
colors: {
  custom: {
    50: '#798ca8',
    500: '#405f85',
    950: '#000000',
  },
}
SCSS
$custom: #405f85;
$custom-light: #798ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#405f85",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 133
  },
  "hsl": {
    "h": 213.043,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.07184,
    "h": 254.1
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#405F85
secondary
#AC9375
accent
#995DCB
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090C0F
muted
#7B7D7F

Preview Lab

Preview with #405F85

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

Preview Lab → · Contrast checker → · Palette generator →

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