#406DD9#406DD9

#406DD9 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.173 H 264.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#406DD9
RGBrgb(64, 109, 217)
HSLhsl(222, 67%, 55%)
HSVhsv(222, 71%, 85%)
CMYKcmyk(70.5%, 49.8%, 0%, 14.9%)
CIE-LABlab(48.30, 20.73, -59.97)
CIE-LCHlch(48.30, 63.45, 289.07°)
OKLaboklab(56.16% -0.0167 -0.1722)
OKLCHoklch(56.16% 0.173 264.5)
XYZxyz(20.1030, 17.0349, 67.8608)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DD9 #D9AC40
analogous
#40B9D9 #406DD9 #6040D9
triadic
#406DD9 #D9406D #6DD940
tetradic
#406DD9 #D940B9 #D9AC40 #40D960
square
#406DD9 #D940B9 #D9AC40 #40D960
split-complementary
#406DD9 #D96040 #B9D940
monochromatic
#1A3984 #2450B7 #406DD9 #7394E3 #A6BBED

Accessibility & contrast

On white

4.76
#406DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#406DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DD9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DD9#FFFFFF#000000##FFFFFF
##406DD91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADD
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406dd9;
/* rgb */ color: rgb(64, 109, 217);
/* oklch */ color: oklch(56.2% 0.173 264.5);
Tailwind
colors: {
  custom: {
    50: '#8796e5',
    500: '#406dd9',
    950: '#000000',
  },
}
SCSS
$custom: #406dd9;
$custom-light: #8796e5;
$custom-dark: #000000;
JSON
{
  "hex": "#406dd9",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 217
  },
  "hsl": {
    "h": 222.353,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56161,
    "c": 0.17305,
    "h": 264.5
  },
  "luminance": 0.17037
}

Semantic roles & 50–950 ramp

primary
#406DD9
secondary
#DAC89A
accent
#B73EEA
background
#F9F9FE
surface
#F1F1FC
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406DD9

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

Preview Lab → · Contrast checker → · Palette generator →

#406DD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva