#406ABA#406ABA

#406ABA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.4% C 0.134 H 262.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#406ABA
RGBrgb(64, 106, 186)
HSLhsl(219, 49%, 49%)
HSVhsv(219, 66%, 73%)
CMYKcmyk(65.6%, 43%, 0%, 27.1%)
CIE-LABlab(45.55, 11.49, -46.59)
CIE-LCHlch(45.55, 47.99, 283.86°)
OKLaboklab(53.44% -0.0187 -0.1329)
OKLCHoklch(53.44% 0.134 262)
XYZxyz(16.1282, 14.9417, 48.4789)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406ABA #BA9040
analogous
#40A7BA #406ABA #5340BA
triadic
#406ABA #BA406A #6ABA40
tetradic
#406ABA #BA40A7 #BA9040 #40BA53
square
#406ABA #BA40A7 #BA9040 #40BA53
split-complementary
#406ABA #BA5340 #A7BA40
monochromatic
#21365F #30508C #406ABA #6B8CCC #99B0DC

Accessibility & contrast

On white

5.27
#406ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#406ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406ABA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406ABA#FFFFFF#000000##FFFFFF
##406ABA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#3167B8
Tritanopia (blue-blind)
#007C89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #406aba;
/* rgb */ color: rgb(64, 106, 186);
/* oklch */ color: oklch(53.4% 0.134 262.0);
Tailwind
colors: {
  custom: {
    50: '#8194cf',
    500: '#406aba',
    950: '#000000',
  },
}
SCSS
$custom: #406aba;
$custom-light: #8194cf;
$custom-dark: #000000;
JSON
{
  "hex": "#406aba",
  "rgb": {
    "r": 64,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 219.344,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.13424,
    "h": 262
  },
  "luminance": 0.14943
}

Semantic roles & 50–950 ramp

primary
#406ABA
secondary
#C8B48E
accent
#A94FD8
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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