#406DBC#406DBC

#406DBC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.2% C 0.133 H 260.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#406DBC
RGBrgb(64, 109, 188)
HSLhsl(218, 49%, 49%)
HSVhsv(218, 66%, 74%)
CMYKcmyk(66%, 42%, 0%, 26.3%)
CIE-LABlab(46.52, 10.32, -46.21)
CIE-LCHlch(46.52, 47.35, 282.59°)
OKLaboklab(54.22% -0.0213 -0.1318)
OKLCHoklch(54.22% 0.133 260.8)
XYZxyz(16.6569, 15.6565, 49.7114)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406DBC #BC8F40
analogous
#40ABBC #406DBC #5140BC
triadic
#406DBC #BC406D #6DBC40
tetradic
#406DBC #BC40AB #BC8F40 #40BC51
square
#406DBC #BC40AB #BC8F40 #40BC51
split-complementary
#406DBC #BC5140 #ABBC40
monochromatic
#213861 #30538E #406DBC #6C8FCD #9AB2DD

Accessibility & contrast

On white

5.08
#406DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#406DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406DBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406DBC#FFFFFF#000000##FFFFFF
##406DBC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #406dbc;
/* rgb */ color: rgb(64, 109, 188);
/* oklch */ color: oklch(54.2% 0.133 260.8);
Tailwind
colors: {
  custom: {
    50: '#8196d0',
    500: '#406dbc',
    950: '#000000',
  },
}
SCSS
$custom: #406dbc;
$custom-light: #8196d0;
$custom-dark: #000000;
JSON
{
  "hex": "#406dbc",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 188
  },
  "hsl": {
    "h": 218.226,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.13349,
    "h": 260.8
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #406DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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