#406997#406997

#406997 is a mid, moderate cyan. Relative luminance 0.134; OKLCH L 51.1% C 0.087 H 252.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#406997
RGBrgb(64, 105, 151)
HSLhsl(212, 40%, 42%)
HSVhsv(212, 58%, 59%)
CMYKcmyk(57.6%, 30.5%, 0%, 40.8%)
CIE-LABlab(43.40, -0.08, -29.43)
CIE-LCHlch(43.40, 29.43, 269.85°)
OKLaboklab(51.15% -0.0263 -0.0828)
OKLCHoklch(51.15% 0.087 252.4)
XYZxyz(12.7499, 13.4264, 31.1918)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406997 #976E40
analogous
#409597 #406997 #434097
triadic
#406997 #974069 #699740
tetradic
#406997 #974095 #976E40 #409743
square
#406997 #974095 #976E40 #409743
split-complementary
#406997 #974340 #959740
monochromatic
#1C2D41 #2E4B6C #406997 #5B87B9 #86A7CC

Accessibility & contrast

On white

5.70
#406997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#406997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406997
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406997#FFFFFF#000000##FFFFFF
##4069971.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #406997;
/* rgb */ color: rgb(64, 105, 151);
/* oklch */ color: oklch(51.1% 0.087 252.4);
Tailwind
colors: {
  custom: {
    50: '#7c93b6',
    500: '#406997',
    950: '#000000',
  },
}
SCSS
$custom: #406997;
$custom-light: #7c93b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406997",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 211.724,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.08691,
    "h": 252.4
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#406997
secondary
#B69B7D
accent
#9757D0
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D11
muted
#7C7E80

Preview Lab

Preview with #406997

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

Preview Lab → · Contrast checker → · Palette generator →

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