#406EE7#406EE7

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

Color values

HEX#406EE7
RGBrgb(64, 110, 231)
HSLhsl(223, 78%, 58%)
HSVhsv(223, 72%, 91%)
CMYKcmyk(72.3%, 52.4%, 0%, 9.4%)
CIE-LABlab(49.51, 25.14, -65.93)
CIE-LCHlch(49.51, 70.56, 290.87°)
OKLaboklab(57.37% -0.0161 -0.1898)
OKLCHoklch(57.37% 0.19 265.2)
XYZxyz(22.1090, 18.0090, 77.8967)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406EE7 #E7B940
analogous
#40C1E7 #406EE7 #6540E7
triadic
#406EE7 #E7406E #6EE740
tetradic
#406EE7 #E740C1 #E7B940 #40E765
square
#406EE7 #E740C1 #E7B940 #40E765
split-complementary
#406EE7 #E76540 #C1E740
monochromatic
#133899 #1A4CD0 #406EE7 #7697EE #ADC1F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406EE7#FFFFFF#000000##000000
##406EE71.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)
#167EEB
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #406ee7;
/* rgb */ color: rgb(64, 110, 231);
/* oklch */ color: oklch(57.4% 0.190 265.2);
Tailwind
colors: {
  custom: {
    50: '#8a97ef',
    500: '#406ee7',
    950: '#000000',
  },
}
SCSS
$custom: #406ee7;
$custom-light: #8a97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#406ee7",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 223.473,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.19045,
    "h": 265.2
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#406EE7
secondary
#E3D0A0
accent
#BF34F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D17
muted
#7E7E85

Preview Lab

Preview with #406EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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