#406FDA#406FDA

#406FDA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.6% C 0.172 H 263.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#406FDA
RGBrgb(64, 111, 218)
HSLhsl(222, 68%, 55%)
HSVhsv(222, 71%, 85%)
CMYKcmyk(70.6%, 49.1%, 0%, 14.5%)
CIE-LABlab(48.91, 19.83, -59.56)
CIE-LCHlch(48.91, 62.78, 288.42°)
OKLaboklab(56.64% -0.0183 -0.171)
OKLCHoklch(56.64% 0.172 263.9)
XYZxyz(20.4492, 17.5187, 68.6198)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FDA #DAAB40
analogous
#40BCDA #406FDA #5E40DA
triadic
#406FDA #DA406F #6FDA40
tetradic
#406FDA #DA40BC #DAAB40 #40DA5E
square
#406FDA #DA40BC #DAAB40 #40DA5E
split-complementary
#406FDA #DA5E40 #BCDA40
monochromatic
#1A3B86 #2451B9 #406FDA #7396E4 #A7BCEE

Accessibility & contrast

On white

4.66
#406FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#406FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #406FDA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FDA#FFFFFF#000000##FFFFFF
##406FDA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #406fda;
/* rgb */ color: rgb(64, 111, 218);
/* oklch */ color: oklch(56.6% 0.172 263.9);
Tailwind
colors: {
  custom: {
    50: '#8797e6',
    500: '#406fda',
    950: '#000000',
  },
}
SCSS
$custom: #406fda;
$custom-light: #8797e6;
$custom-dark: #000000;
JSON
{
  "hex": "#406fda",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 221.688,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.17198,
    "h": 263.9
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#406FDA
secondary
#DBC79B
accent
#B63DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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