#406CA1#406CA1

#406CA1 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.4% C 0.097 H 254.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#406CA1
RGBrgb(64, 108, 161)
HSLhsl(213, 43%, 44%)
HSVhsv(213, 60%, 63%)
CMYKcmyk(60.2%, 32.9%, 0%, 36.9%)
CIE-LABlab(44.78, 1.48, -33.18)
CIE-LCHlch(44.78, 33.22, 272.55°)
OKLaboklab(52.4% -0.0268 -0.0937)
OKLCHoklch(52.4% 0.097 254)
XYZxyz(13.9076, 14.3871, 35.7554)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406CA1 #A17540
analogous
#409DA1 #406CA1 #4540A1
triadic
#406CA1 #A1406C #6CA140
tetradic
#406CA1 #A1409D #A17540 #40A145
square
#406CA1 #A1409D #A17540 #40A145
split-complementary
#406CA1 #A14540 #9DA140
monochromatic
#1D3149 #2F4F75 #406CA1 #5F8BBF #8BAAD1

Accessibility & contrast

On white

5.42
#406CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#406CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406CA1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406CA1#FFFFFF#000000##FFFFFF
##406CA11.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566FA3
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #406ca1;
/* rgb */ color: rgb(64, 108, 161);
/* oklch */ color: oklch(52.4% 0.097 254.0);
Tailwind
colors: {
  custom: {
    50: '#7d95bd',
    500: '#406ca1',
    950: '#000000',
  },
}
SCSS
$custom: #406ca1;
$custom-light: #7d95bd;
$custom-dark: #000000;
JSON
{
  "hex": "#406ca1",
  "rgb": {
    "r": 64,
    "g": 108,
    "b": 161
  },
  "hsl": {
    "h": 212.784,
    "s": 43.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.09746,
    "h": 254
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#406CA1
secondary
#BCA181
accent
#9A55D3
background
#F8F9FB
surface
#EFF1F6
border
#CACBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #406CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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