#406FE3#406FE3

#406FE3 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.184 H 264.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#406FE3
RGBrgb(64, 111, 227)
HSLhsl(223, 74%, 57%)
HSVhsv(223, 72%, 89%)
CMYKcmyk(71.8%, 51.1%, 0%, 11%)
CIE-LABlab(49.50, 23.08, -63.69)
CIE-LCHlch(49.50, 67.74, 289.92°)
OKLaboklab(57.28% -0.0172 -0.1832)
OKLCHoklch(57.28% 0.184 264.6)
XYZxyz(21.6590, 18.0026, 74.9915)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FE3 #E3B440
analogous
#40C1E3 #406FE3 #6240E3
triadic
#406FE3 #E3406F #6FE340
tetradic
#406FE3 #E340C1 #E3B440 #40E362
square
#406FE3 #E340C1 #E3B440 #40E362
split-complementary
#406FE3 #E36240 #C1E340
monochromatic
#163A93 #1D4FC8 #406FE3 #7597EB #ABBFF3

Accessibility & contrast

On white

4.56
#406FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#406FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #406FE3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FE3#FFFFFF#000000##000000
##406FE31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #406fe3;
/* rgb */ color: rgb(64, 111, 227);
/* oklch */ color: oklch(57.3% 0.184 264.6);
Tailwind
colors: {
  custom: {
    50: '#8997ed',
    500: '#406fe3',
    950: '#000000',
  },
}
SCSS
$custom: #406fe3;
$custom-light: #8997ed;
$custom-dark: #000000;
JSON
{
  "hex": "#406fe3",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 222.699,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57281,
    "c": 0.18397,
    "h": 264.6
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#406FE3
secondary
#E1CD9E
accent
#BB37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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