#406097#406097

#406097 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.1% C 0.096 H 260.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#406097
RGBrgb(64, 96, 151)
HSLhsl(218, 40%, 42%)
HSVhsv(218, 58%, 59%)
CMYKcmyk(57.6%, 36.4%, 0%, 40.8%)
CIE-LABlab(40.72, 5.53, -33.64)
CIE-LCHlch(40.72, 34.10, 279.33°)
OKLaboklab(49.06% -0.0156 -0.0951)
OKLCHoklch(49.06% 0.096 260.7)
XYZxyz(11.8812, 11.6891, 30.9023)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406097 #977740
analogous
#408C97 #406097 #4C4097
triadic
#406097 #974060 #609740
tetradic
#406097 #97408C #977740 #40974C
square
#406097 #97408C #977740 #40974C
split-complementary
#406097 #974C40 #8C9740
monochromatic
#1C2941 #2E456C #406097 #5B7EB9 #869FCC

Accessibility & contrast

On white

6.29
#406097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#406097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406097
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406097#FFFFFF#000000##FFFFFF
##4060971.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496499
Deuteranopia (green-blind)
#3F5C96
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406097;
/* rgb */ color: rgb(64, 96, 151);
/* oklch */ color: oklch(49.1% 0.096 260.7);
Tailwind
colors: {
  custom: {
    50: '#7c8cb6',
    500: '#406097',
    950: '#000000',
  },
}
SCSS
$custom: #406097;
$custom-light: #7c8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#406097",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 151
  },
  "hsl": {
    "h": 217.931,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.09643,
    "h": 260.7
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#406097
secondary
#B6A17D
accent
#A457D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406097

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

Preview Lab → · Contrast checker → · Palette generator →

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