#406099#406099

#406099 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.2% C 0.099 H 261.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#406099
RGBrgb(64, 96, 153)
HSLhsl(218, 41%, 43%)
HSVhsv(218, 58%, 60%)
CMYKcmyk(58.2%, 37.3%, 0%, 40%)
CIE-LABlab(40.82, 6.22, -34.67)
CIE-LCHlch(40.82, 35.23, 280.16°)
OKLaboklab(49.17% -0.0151 -0.0982)
OKLCHoklch(49.17% 0.099 261.2)
XYZxyz(12.0450, 11.7547, 31.7650)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406099 #997940
analogous
#408D99 #406099 #4C4099
triadic
#406099 #994060 #609940
tetradic
#406099 #99408D #997940 #40994C
square
#406099 #99408D #997940 #40994C
split-complementary
#406099 #994C40 #8D9940
monochromatic
#1C2A43 #2E456E #406099 #5C7EBB #87A0CD

Accessibility & contrast

On white

6.27
#406099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#406099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406099
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406099#FFFFFF#000000##FFFFFF
##4060991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48659B
Deuteranopia (green-blind)
#3D5C98
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #406099;
/* rgb */ color: rgb(64, 96, 153);
/* oklch */ color: oklch(49.2% 0.099 261.2);
Tailwind
colors: {
  custom: {
    50: '#7c8cb7',
    500: '#406099',
    950: '#000000',
  },
}
SCSS
$custom: #406099;
$custom-light: #7c8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#406099",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 153
  },
  "hsl": {
    "h": 218.427,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.09932,
    "h": 261.2
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#406099
secondary
#B7A37E
accent
#A557D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406099

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

Preview Lab → · Contrast checker → · Palette generator →

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