#406899#406899

#406899 is a mid, moderate cyan. Relative luminance 0.133; OKLCH L 51.0% C 0.091 H 254.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#406899
RGBrgb(64, 104, 153)
HSLhsl(213, 41%, 43%)
HSVhsv(213, 58%, 60%)
CMYKcmyk(58.2%, 32%, 0%, 40%)
CIE-LABlab(43.20, 1.21, -30.94)
CIE-LCHlch(43.20, 30.96, 272.25°)
OKLaboklab(51.02% -0.0245 -0.0872)
OKLCHoklch(51.02% 0.091 254.3)
XYZxyz(12.8124, 13.2894, 32.0207)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406899 #997140
analogous
#409499 #406899 #454099
triadic
#406899 #994068 #689940
tetradic
#406899 #994094 #997140 #409945
square
#406899 #994094 #997140 #409945
split-complementary
#406899 #994540 #949940
monochromatic
#1C2D43 #2E4B6E #406899 #5C86BB #87A6CD

Accessibility & contrast

On white

5.74
#406899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#406899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406899
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406899#FFFFFF#000000##FFFFFF
##4068991.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#486298
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #406899;
/* rgb */ color: rgb(64, 104, 153);
/* oklch */ color: oklch(51.0% 0.091 254.3);
Tailwind
colors: {
  custom: {
    50: '#7c92b7',
    500: '#406899',
    950: '#000000',
  },
}
SCSS
$custom: #406899;
$custom-light: #7c92b7;
$custom-dark: #000000;
JSON
{
  "hex": "#406899",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 213.034,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.09059,
    "h": 254.3
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#406899
secondary
#B79D7E
accent
#9A57D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0D11
muted
#7C7D80

Preview Lab

Preview with #406899

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

Preview Lab → · Contrast checker → · Palette generator →

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