#406EE1#406EE1

#406EE1 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.183 H 264.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#406EE1
RGBrgb(64, 110, 225)
HSLhsl(223, 73%, 57%)
HSVhsv(223, 72%, 88%)
CMYKcmyk(71.6%, 51.1%, 0%, 11.8%)
CIE-LABlab(49.10, 22.98, -63.21)
CIE-LCHlch(49.10, 67.26, 289.98°)
OKLaboklab(56.94% -0.0166 -0.1818)
OKLCHoklch(56.94% 0.183 264.8)
XYZxyz(21.2761, 17.6758, 73.5101)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EE1 #E1B340
analogous
#40BFE1 #406EE1 #6340E1
triadic
#406EE1 #E1406E #6EE140
tetradic
#406EE1 #E140BF #E1B340 #40E163
square
#406EE1 #E140BF #E1B340 #40E163
split-complementary
#406EE1 #E16340 #BFE140
monochromatic
#173990 #1F4EC5 #406EE1 #7596E9 #AABEF2

Accessibility & contrast

On white

4.63
#406EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#406EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #406EE1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406EE1#FFFFFF#000000##FFFFFF
##406EE11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#247CE5
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #406ee1;
/* rgb */ color: rgb(64, 110, 225);
/* oklch */ color: oklch(56.9% 0.183 264.8);
Tailwind
colors: {
  custom: {
    50: '#8897eb',
    500: '#406ee1',
    950: '#000000',
  },
}
SCSS
$custom: #406ee1;
$custom-light: #8897eb;
$custom-dark: #000000;
JSON
{
  "hex": "#406ee1",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 225
  },
  "hsl": {
    "h": 222.857,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.18252,
    "h": 264.8
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#406EE1
secondary
#DFCD9D
accent
#BB38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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