#406DBB#406DBB

#406DBB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.132 H 260.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#406DBB
RGBrgb(64, 109, 187)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 66%, 73%)
CMYKcmyk(65.8%, 41.7%, 0%, 26.7%)
CIE-LABlab(46.46, 9.96, -45.72)
CIE-LCHlch(46.46, 46.79, 282.29°)
OKLaboklab(54.16% -0.0215 -0.1303)
OKLCHoklch(54.16% 0.132 260.6)
XYZxyz(16.5495, 15.6135, 49.1456)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DBB #BB8E40
analogous
#40ABBB #406DBB #5140BB
triadic
#406DBB #BB406D #6DBB40
tetradic
#406DBB #BB40AB #BB8E40 #40BB51
square
#406DBB #BB40AB #BB8E40 #40BB51
split-complementary
#406DBB #BB5140 #ABBB40
monochromatic
#213860 #30528D #406DBB #6C8FCD #99B2DC

Accessibility & contrast

On white

5.09
#406DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#406DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DBB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DBB#FFFFFF#000000##FFFFFF
##406DBB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406dbb;
/* rgb */ color: rgb(64, 109, 187);
/* oklch */ color: oklch(54.2% 0.132 260.6);
Tailwind
colors: {
  custom: {
    50: '#8196d0',
    500: '#406dbb',
    950: '#000000',
  },
}
SCSS
$custom: #406dbb;
$custom-light: #8196d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406dbb",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 218.049,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.13211,
    "h": 260.6
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#406DBB
secondary
#C8B38F
accent
#A64FD9
background
#F8F9FC
surface
#F0F1F9
border
#CBCBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #406DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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