#406897#406897

#406897 is a mid, moderate cyan. Relative luminance 0.132; OKLCH L 50.9% C 0.088 H 253.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#406897
RGBrgb(64, 104, 151)
HSLhsl(212, 40%, 42%)
HSVhsv(212, 58%, 59%)
CMYKcmyk(57.6%, 31.1%, 0%, 40.8%)
CIE-LABlab(43.10, 0.54, -29.90)
CIE-LCHlch(43.10, 29.91, 271.03°)
OKLaboklab(50.92% -0.0251 -0.0842)
OKLCHoklch(50.92% 0.088 253.4)
XYZxyz(12.6486, 13.2239, 31.1581)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406897 #976F40
analogous
#409497 #406897 #444097
triadic
#406897 #974068 #689740
tetradic
#406897 #974094 #976F40 #409744
square
#406897 #974094 #976F40 #409744
split-complementary
#406897 #974440 #949740
monochromatic
#1C2D41 #2E4A6C #406897 #5B86B9 #86A6CC

Accessibility & contrast

On white

5.76
#406897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#406897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406897
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406897#FFFFFF#000000##FFFFFF
##4068971.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A99
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #406897;
/* rgb */ color: rgb(64, 104, 151);
/* oklch */ color: oklch(50.9% 0.088 253.4);
Tailwind
colors: {
  custom: {
    50: '#7c92b6',
    500: '#406897',
    950: '#000000',
  },
}
SCSS
$custom: #406897;
$custom-light: #7c92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#406897",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 212.414,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50915,
    "c": 0.08787,
    "h": 253.4
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#406897
secondary
#B69C7D
accent
#9957D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0D11
muted
#7C7D80

Preview Lab

Preview with #406897

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

Preview Lab → · Contrast checker → · Palette generator →

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