#2A406D#2A406D

#2A406D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.082 H 263.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#2A406D
RGBrgb(42, 64, 109)
HSLhsl(220, 44%, 30%)
HSVhsv(220, 61%, 43%)
CMYKcmyk(61.5%, 41.3%, 0%, 57.3%)
CIE-LABlab(27.47, 6.58, -28.78)
CIE-LCHlch(27.47, 29.52, 282.88°)
OKLaboklab(37.69% -0.0096 -0.0817)
OKLCHoklch(37.69% 0.082 263.3)
XYZxyz(5.5476, 5.2627, 15.1885)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A406D #6D572A
analogous
#2A626D #2A406D #362A6D
triadic
#2A406D #6D2A40 #406D2A
tetradic
#2A406D #6D2A62 #6D572A #2A6D36
square
#2A406D #6D2A62 #6D572A #2A6D36
split-complementary
#2A406D #6D362A #626D2A
monochromatic
#090D16 #192641 #2A406D #3B5A99 #5477BD

Accessibility & contrast

On white

10.23
#2A406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2A406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A406D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A406D#FFFFFF#000000##FFFFFF
##2A406D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#243E6C
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a406d;
/* rgb */ color: rgb(42, 64, 109);
/* oklch */ color: oklch(37.7% 0.082 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a7497',
    500: '#2a406d',
    950: '#000000',
  },
}
SCSS
$custom: #2a406d;
$custom-light: #6a7497;
$custom-dark: #000000;
JSON
{
  "hex": "#2a406d",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 220.299,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37688,
    "c": 0.08223,
    "h": 263.3
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#2A406D
secondary
#9F8654
accent
#AA54D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A406D

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

Preview Lab → · Contrast checker → · Palette generator →

#2A406D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva