#2A406A#2A406A

#2A406A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.078 H 262.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2A406A
RGBrgb(42, 64, 106)
HSLhsl(219, 43%, 29%)
HSVhsv(219, 60%, 42%)
CMYKcmyk(60.4%, 39.6%, 0%, 58.4%)
CIE-LABlab(27.29, 5.47, -27.14)
CIE-LCHlch(27.29, 27.68, 281.39°)
OKLaboklab(37.49% -0.0103 -0.0769)
OKLCHoklch(37.49% 0.078 262.3)
XYZxyz(5.3889, 5.1992, 14.3524)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A406A #6A542A
analogous
#2A606A #2A406A #342A6A
triadic
#2A406A #6A2A40 #406A2A
tetradic
#2A406A #6A2A60 #6A542A #2A6A34
square
#2A406A #6A2A60 #6A542A #2A6A34
split-complementary
#2A406A #6A342A #606A2A
monochromatic
#090D16 #19263E #2A406A #3B5A96 #5377BB

Accessibility & contrast

On white

10.29
#2A406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2A406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A406A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A406A#FFFFFF#000000##FFFFFF
##2A406A1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#263E69
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a406a;
/* rgb */ color: rgb(42, 64, 106);
/* oklch */ color: oklch(37.5% 0.078 262.3);
Tailwind
colors: {
  custom: {
    50: '#697495',
    500: '#2a406a',
    950: '#000000',
  },
}
SCSS
$custom: #2a406a;
$custom-light: #697495;
$custom-dark: #000000;
JSON
{
  "hex": "#2a406a",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 219.375,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.07757,
    "h": 262.3
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#2A406A
secondary
#9C8354
accent
#A855D3
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A406A

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

Preview Lab → · Contrast checker → · Palette generator →

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