#406CBB#406CBB

#406CBB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.133 H 261.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#406CBB
RGBrgb(64, 108, 187)
HSLhsl(219, 49%, 49%)
HSVhsv(219, 66%, 73%)
CMYKcmyk(65.8%, 42.2%, 0%, 26.7%)
CIE-LABlab(46.18, 10.59, -46.17)
CIE-LCHlch(46.18, 47.37, 282.92°)
OKLaboklab(53.94% -0.0205 -0.1317)
OKLCHoklch(53.94% 0.133 261.2)
XYZxyz(16.4434, 15.4014, 49.1103)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CBB #BB8F40
analogous
#40AABB #406CBB #5240BB
triadic
#406CBB #BB406C #6CBB40
tetradic
#406CBB #BB40AA #BB8F40 #40BB52
square
#406CBB #BB40AA #BB8F40 #40BB52
split-complementary
#406CBB #BB5240 #AABB40
monochromatic
#213760 #30528D #406CBB #6C8ECD #99B1DC

Accessibility & contrast

On white

5.15
#406CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#406CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CBB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CBB#FFFFFF#000000##FFFFFF
##406CBB1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4774BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #406cbb;
/* rgb */ color: rgb(64, 108, 187);
/* oklch */ color: oklch(53.9% 0.133 261.2);
Tailwind
colors: {
  custom: {
    50: '#8195d0',
    500: '#406cbb',
    950: '#000000',
  },
}
SCSS
$custom: #406cbb;
$custom-light: #8195d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406cbb",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 218.537,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.13327,
    "h": 261.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#406CBB
secondary
#C8B48F
accent
#A74FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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