#406497#406497

#406497 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.0% C 0.092 H 257.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#406497
RGBrgb(64, 100, 151)
HSLhsl(215, 40%, 42%)
HSVhsv(215, 58%, 59%)
CMYKcmyk(57.6%, 33.8%, 0%, 40.8%)
CIE-LABlab(41.90, 3.02, -31.78)
CIE-LCHlch(41.90, 31.92, 275.42°)
OKLaboklab(49.98% -0.0204 -0.0897)
OKLCHoklch(49.98% 0.092 257.2)
XYZxyz(12.2555, 12.4377, 31.0270)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406497 #977340
analogous
#409097 #406497 #474097
triadic
#406497 #974064 #649740
tetradic
#406497 #974090 #977340 #409747
square
#406497 #974090 #977340 #409747
split-complementary
#406497 #974740 #909740
monochromatic
#1C2B41 #2E486C #406497 #5B82B9 #86A3CC

Accessibility & contrast

On white

6.02
#406497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#406497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406497
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406497#FFFFFF#000000##FFFFFF
##4064971.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406497;
/* rgb */ color: rgb(64, 100, 151);
/* oklch */ color: oklch(50.0% 0.092 257.2);
Tailwind
colors: {
  custom: {
    50: '#7c8fb6',
    500: '#406497',
    950: '#000000',
  },
}
SCSS
$custom: #406497;
$custom-light: #7c8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#406497",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 151
  },
  "hsl": {
    "h": 215.172,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.09196,
    "h": 257.2
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#406497
secondary
#B69E7D
accent
#9E57D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406497

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

Preview Lab → · Contrast checker → · Palette generator →

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