#406FC0#406FC0

#406FC0 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.137 H 260.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#406FC0
RGBrgb(64, 111, 192)
HSLhsl(218, 50%, 50%)
HSVhsv(218, 67%, 75%)
CMYKcmyk(66.7%, 42.2%, 0%, 24.7%)
CIE-LABlab(47.32, 10.49, -47.25)
CIE-LCHlch(47.32, 48.40, 282.52°)
OKLaboklab(54.91% -0.0225 -0.1348)
OKLCHoklch(54.91% 0.137 260.5)
XYZxyz(17.3098, 16.2629, 52.0858)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406FC0 #C09140
analogous
#40AFC0 #406FC0 #5140C0
triadic
#406FC0 #C0406F #6FC040
tetradic
#406FC0 #C040AF #C09140 #40C051
square
#406FC0 #C040AF #C09140 #40C051
split-complementary
#406FC0 #C05140 #AFC040
monochromatic
#213A64 #305492 #406FC0 #6E92CF #9CB4DE

Accessibility & contrast

On white

4.94
#406FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#406FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406FC0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406FC0#FFFFFF#000000##FFFFFF
##406FC01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C3
Deuteranopia (green-blind)
#356BBE
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #406fc0;
/* rgb */ color: rgb(64, 111, 192);
/* oklch */ color: oklch(54.9% 0.137 260.5);
Tailwind
colors: {
  custom: {
    50: '#8297d3',
    500: '#406fc0',
    950: '#000000',
  },
}
SCSS
$custom: #406fc0;
$custom-light: #8297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#406fc0",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 217.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54909,
    "c": 0.13666,
    "h": 260.5
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#406FC0
secondary
#CBB591
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #406FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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