#406887#406887

#406887 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.1% C 0.067 H 243.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#406887
RGBrgb(64, 104, 135)
HSLhsl(206, 36%, 39%)
HSVhsv(206, 53%, 53%)
CMYKcmyk(52.6%, 23%, 0%, 47.1%)
CIE-LABlab(42.37, -4.74, -21.46)
CIE-LCHlch(42.37, 21.98, 257.54°)
OKLaboklab(50.1% -0.0305 -0.0599)
OKLCHoklch(50.1% 0.067 243)
XYZxyz(11.4363, 12.7390, 24.7732)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406887 #875F40
analogous
#408783 #406887 #404587
triadic
#406887 #874068 #688740
tetradic
#406887 #834087 #875F40 #458740
square
#406887 #834087 #875F40 #458740
split-complementary
#406887 #874045 #878340
monochromatic
#192834 #2C485D #406887 #5688AF #7FA5C2

Accessibility & contrast

On white

5.92
#406887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#406887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406887
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406887#FFFFFF#000000##FFFFFF
##4068871.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#516186
Tritanopia (blue-blind)
#1A7072
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #406887;
/* rgb */ color: rgb(64, 104, 135);
/* oklch */ color: oklch(50.1% 0.067 243.0);
Tailwind
colors: {
  custom: {
    50: '#7a93aa',
    500: '#406887',
    950: '#000000',
  },
}
SCSS
$custom: #406887;
$custom-light: #7a93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#406887",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 206.197,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.06717,
    "h": 243
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#406887
secondary
#AD8E76
accent
#8D5CCC
background
#F7F9FA
surface
#EEF1F4
border
#C9CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #406887

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

Preview Lab → · Contrast checker → · Palette generator →

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