#2A406C#2A406C

#2A406C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.081 H 263.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2A406C
RGBrgb(42, 64, 108)
HSLhsl(220, 44%, 29%)
HSVhsv(220, 61%, 42%)
CMYKcmyk(61.1%, 40.7%, 0%, 57.6%)
CIE-LABlab(27.41, 6.21, -28.23)
CIE-LCHlch(27.41, 28.91, 282.40°)
OKLaboklab(37.62% -0.0098 -0.0801)
OKLCHoklch(37.62% 0.081 263)
XYZxyz(5.4941, 5.2413, 14.9066)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A406C #6C562A
analogous
#2A616C #2A406C #352A6C
triadic
#2A406C #6C2A40 #406C2A
tetradic
#2A406C #6C2A61 #6C562A #2A6C35
square
#2A406C #6C2A61 #6C562A #2A6C35
split-complementary
#2A406C #6C352A #616C2A
monochromatic
#090D16 #192640 #2A406C #3B5A98 #5477BC

Accessibility & contrast

On white

10.25
#2A406C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A406C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A406C#FFFFFF#000000##FFFFFF
##2A406C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#253E6B
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a406c;
/* rgb */ color: rgb(42, 64, 108);
/* oklch */ color: oklch(37.6% 0.081 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a7496',
    500: '#2a406c',
    950: '#000000',
  },
}
SCSS
$custom: #2a406c;
$custom-light: #6a7496;
$custom-dark: #000000;
JSON
{
  "hex": "#2a406c",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 108
  },
  "hsl": {
    "h": 220,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.08068,
    "h": 263
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2A406C
secondary
#9E8554
accent
#A954D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A406C

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

Preview Lab → · Contrast checker → · Palette generator →

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