#406199#406199

#406199 is a mid, moderate blue. Relative luminance 0.119; OKLCH L 49.4% C 0.098 H 260.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#406199
RGBrgb(64, 97, 153)
HSLhsl(218, 41%, 43%)
HSVhsv(218, 58%, 60%)
CMYKcmyk(58.2%, 36.6%, 0%, 40%)
CIE-LABlab(41.12, 5.58, -34.21)
CIE-LCHlch(41.12, 34.66, 279.27°)
OKLaboklab(49.4% -0.0163 -0.0968)
OKLCHoklch(49.4% 0.098 260.4)
XYZxyz(12.1368, 11.9383, 31.7956)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406199 #997840
analogous
#408D99 #406199 #4C4099
triadic
#406199 #994061 #619940
tetradic
#406199 #99408D #997840 #40994C
square
#406199 #99408D #997840 #40994C
split-complementary
#406199 #994C40 #8D9940
monochromatic
#1C2A43 #2E466E #406199 #5C7FBB #87A1CD

Accessibility & contrast

On white

6.20
#406199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#406199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406199
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406199#FFFFFF#000000##FFFFFF
##4061991.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659B
Deuteranopia (green-blind)
#3F5D98
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406199;
/* rgb */ color: rgb(64, 97, 153);
/* oklch */ color: oklch(49.4% 0.098 260.4);
Tailwind
colors: {
  custom: {
    50: '#7c8db7',
    500: '#406199',
    950: '#000000',
  },
}
SCSS
$custom: #406199;
$custom-light: #7c8db7;
$custom-dark: #000000;
JSON
{
  "hex": "#406199",
  "rgb": {
    "r": 64,
    "g": 97,
    "b": 153
  },
  "hsl": {
    "h": 217.753,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.09815,
    "h": 260.4
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#406199
secondary
#B7A27E
accent
#A457D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406199

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

Preview Lab → · Contrast checker → · Palette generator →

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