#406FE2#406FE2

#406FE2 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.183 H 264.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#406FE2
RGBrgb(64, 111, 226)
HSLhsl(223, 74%, 57%)
HSVhsv(223, 72%, 89%)
CMYKcmyk(71.7%, 50.9%, 0%, 11.4%)
CIE-LABlab(49.43, 22.72, -63.24)
CIE-LCHlch(49.43, 67.19, 289.76°)
OKLaboklab(57.21% -0.0173 -0.1818)
OKLCHoklch(57.21% 0.183 264.6)
XYZxyz(21.5214, 17.9476, 74.2668)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FE2 #E2B340
analogous
#40C0E2 #406FE2 #6240E2
triadic
#406FE2 #E2406F #6FE240
tetradic
#406FE2 #E240C0 #E2B340 #40E262
square
#406FE2 #E240C0 #E2B340 #40E262
split-complementary
#406FE2 #E26240 #C0E240
monochromatic
#163A92 #1E4FC7 #406FE2 #7597EA #AABFF2

Accessibility & contrast

On white

4.58
#406FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#406FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #406FE2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FE2#FFFFFF#000000##000000
##406FE21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #406fe2;
/* rgb */ color: rgb(64, 111, 226);
/* oklch */ color: oklch(57.2% 0.183 264.6);
Tailwind
colors: {
  custom: {
    50: '#8997ec',
    500: '#406fe2',
    950: '#000000',
  },
}
SCSS
$custom: #406fe2;
$custom-light: #8997ec;
$custom-dark: #000000;
JSON
{
  "hex": "#406fe2",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 222.593,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.18264,
    "h": 264.6
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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