#406BE3#406BE3

#406BE3 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.189 H 265.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#406BE3
RGBrgb(64, 107, 227)
HSLhsl(224, 74%, 57%)
HSVhsv(224, 72%, 89%)
CMYKcmyk(71.8%, 52.9%, 0%, 11%)
CIE-LABlab(48.45, 25.59, -65.39)
CIE-LCHlch(48.45, 70.22, 291.37°)
OKLaboklab(56.48% -0.0141 -0.1882)
OKLCHoklch(56.48% 0.189 265.7)
XYZxyz(21.2323, 17.1492, 74.8493)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406BE3 #E3B840
analogous
#40BCE3 #406BE3 #6740E3
triadic
#406BE3 #E3406B #6BE340
tetradic
#406BE3 #E340BC #E3B840 #40E367
square
#406BE3 #E340BC #E3B840 #40E367
split-complementary
#406BE3 #E36740 #BCE340
monochromatic
#163793 #1D4BC8 #406BE3 #7594EB #ABBEF3

Accessibility & contrast

On white

4.74
#406BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#406BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406BE3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406BE3#FFFFFF#000000##FFFFFF
##406BE31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#107BE7
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #406be3;
/* rgb */ color: rgb(64, 107, 227);
/* oklch */ color: oklch(56.5% 0.189 265.7);
Tailwind
colors: {
  custom: {
    50: '#8994ed',
    500: '#406be3',
    950: '#000000',
  },
}
SCSS
$custom: #406be3;
$custom-light: #8994ed;
$custom-dark: #000000;
JSON
{
  "hex": "#406be3",
  "rgb": {
    "r": 64,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 224.172,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.18876,
    "h": 265.7
  },
  "luminance": 0.17151
}

Semantic roles & 50–950 ramp

primary
#406BE3
secondary
#E1CF9E
accent
#C037F1
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #406BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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