#406ABC#406ABC

#406ABC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.6% C 0.137 H 262.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#406ABC
RGBrgb(64, 106, 188)
HSLhsl(220, 49%, 49%)
HSVhsv(220, 66%, 74%)
CMYKcmyk(66%, 43.6%, 0%, 26.3%)
CIE-LABlab(45.67, 12.21, -47.56)
CIE-LCHlch(45.67, 49.11, 284.39°)
OKLaboklab(53.56% -0.0183 -0.1358)
OKLCHoklch(53.56% 0.137 262.3)
XYZxyz(16.3423, 15.0273, 49.6065)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABC #BC9240
analogous
#40A8BC #406ABC #5440BC
triadic
#406ABC #BC406A #6ABC40
tetradic
#406ABC #BC40A8 #BC9240 #40BC54
square
#406ABC #BC40A8 #BC9240 #40BC54
split-complementary
#406ABC #BC5440 #A8BC40
monochromatic
#213761 #30508E #406ABC #6C8DCD #9AB0DD

Accessibility & contrast

On white

5.24
#406ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#406ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ABC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ABC#FFFFFF#000000##FFFFFF
##406ABC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#2F67BA
Tritanopia (blue-blind)
#007D8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406abc;
/* rgb */ color: rgb(64, 106, 188);
/* oklch */ color: oklch(53.6% 0.137 262.3);
Tailwind
colors: {
  custom: {
    50: '#8294d1',
    500: '#406abc',
    950: '#000000',
  },
}
SCSS
$custom: #406abc;
$custom-light: #8294d1;
$custom-dark: #000000;
JSON
{
  "hex": "#406abc",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 219.677,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.13703,
    "h": 262.3
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#406ABC
secondary
#C9B58F
accent
#AA4FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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