#2A406E#2A406E

#2A406E is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.084 H 263.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A406E
RGBrgb(42, 64, 110)
HSLhsl(221, 45%, 30%)
HSVhsv(221, 62%, 43%)
CMYKcmyk(61.8%, 41.8%, 0%, 56.9%)
CIE-LABlab(27.53, 6.95, -29.32)
CIE-LCHlch(27.53, 30.13, 283.34°)
OKLaboklab(37.75% -0.0094 -0.0833)
OKLCHoklch(37.75% 0.084 263.6)
XYZxyz(5.6017, 5.2844, 15.4736)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A406E #6E582A
analogous
#2A626E #2A406E #362A6E
triadic
#2A406E #6E2A40 #406E2A
tetradic
#2A406E #6E2A62 #6E582A #2A6E36
square
#2A406E #6E2A62 #6E582A #2A6E36
split-complementary
#2A406E #6E362A #626E2A
monochromatic
#080D16 #192642 #2A406E #3B5A9A #5577BE

Accessibility & contrast

On white

10.21
#2A406E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A406E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A406E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A406E#FFFFFF#000000##FFFFFF
##2A406E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a406e;
/* rgb */ color: rgb(42, 64, 110);
/* oklch */ color: oklch(37.8% 0.084 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a7498',
    500: '#2a406e',
    950: '#000000',
  },
}
SCSS
$custom: #2a406e;
$custom-light: #6a7498;
$custom-dark: #000000;
JSON
{
  "hex": "#2a406e",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 110
  },
  "hsl": {
    "h": 220.588,
    "s": 44.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.08378,
    "h": 263.6
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2A406E
secondary
#A08754
accent
#AB53D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A406E

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

Preview Lab → · Contrast checker → · Palette generator →

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