#406399#406399

#406399 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 49.9% C 0.096 H 258.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#406399
RGBrgb(64, 99, 153)
HSLhsl(216, 41%, 43%)
HSVhsv(216, 58%, 60%)
CMYKcmyk(58.2%, 35.3%, 0%, 40%)
CIE-LABlab(41.71, 4.33, -33.28)
CIE-LCHlch(41.71, 33.56, 277.41°)
OKLaboklab(49.86% -0.0186 -0.094)
OKLCHoklch(49.86% 0.096 258.8)
XYZxyz(12.3240, 12.3126, 31.8579)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406399 #997640
analogous
#409099 #406399 #494099
triadic
#406399 #994063 #639940
tetradic
#406399 #994090 #997640 #409949
square
#406399 #994090 #997640 #409949
split-complementary
#406399 #994940 #909940
monochromatic
#1C2B43 #2E476E #406399 #5C81BB #87A2CD

Accessibility & contrast

On white

6.06
#406399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406399
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406399#FFFFFF#000000##FFFFFF
##4063991.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#415F98
Tritanopia (blue-blind)
#006F77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406399;
/* rgb */ color: rgb(64, 99, 153);
/* oklch */ color: oklch(49.9% 0.096 258.8);
Tailwind
colors: {
  custom: {
    50: '#7c8fb7',
    500: '#406399',
    950: '#000000',
  },
}
SCSS
$custom: #406399;
$custom-light: #7c8fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#406399",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 153
  },
  "hsl": {
    "h": 216.404,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.09588,
    "h": 258.8
  },
  "luminance": 0.12314
}

Semantic roles & 50–950 ramp

primary
#406399
secondary
#B7A17E
accent
#A157D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406399

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

Preview Lab → · Contrast checker → · Palette generator →

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