#406299#406299

#406299 is a mid, moderate blue. Relative luminance 0.121; OKLCH L 49.6% C 0.097 H 259.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#406299
RGBrgb(64, 98, 153)
HSLhsl(217, 41%, 43%)
HSVhsv(217, 58%, 60%)
CMYKcmyk(58.2%, 35.9%, 0%, 40%)
CIE-LABlab(41.41, 4.95, -33.74)
CIE-LCHlch(41.41, 34.11, 278.35°)
OKLaboklab(49.63% -0.0175 -0.0954)
OKLCHoklch(49.63% 0.097 259.6)
XYZxyz(12.2298, 12.1243, 31.8266)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406299 #997740
analogous
#408E99 #406299 #4B4099
triadic
#406299 #994062 #629940
tetradic
#406299 #99408E #997740 #40994B
square
#406299 #99408E #997740 #40994B
split-complementary
#406299 #994B40 #8E9940
monochromatic
#1C2B43 #2E466E #406299 #5C80BB #87A1CD

Accessibility & contrast

On white

6.13
#406299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#406299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406299
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406299#FFFFFF#000000##FFFFFF
##4062991.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#006E76
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406299;
/* rgb */ color: rgb(64, 98, 153);
/* oklch */ color: oklch(49.6% 0.097 259.6);
Tailwind
colors: {
  custom: {
    50: '#7c8eb7',
    500: '#406299',
    950: '#000000',
  },
}
SCSS
$custom: #406299;
$custom-light: #7c8eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#406299",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 153
  },
  "hsl": {
    "h": 217.079,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.097,
    "h": 259.6
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406299

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

Preview Lab → · Contrast checker → · Palette generator →

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