#2A409B#2A409B

#2A409B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.151 H 268.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2A409B
RGBrgb(42, 64, 155)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 73%, 61%)
CMYKcmyk(72.9%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.70, 24.07, -52.18)
CIE-LCHlch(30.70, 57.47, 294.76°)
OKLaboklab(41.17% -0.0038 -0.1505)
OKLCHoklch(41.17% 0.151 268.6)
XYZxyz(8.7026, 6.5247, 31.8047)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409B #9B852A
analogous
#2A789B #2A409B #4D2A9B
triadic
#2A409B #9B2A40 #409B2A
tetradic
#2A409B #9B2A78 #9B852A #2A9B4D
square
#2A409B #9B2A78 #9B852A #2A9B4D
split-complementary
#2A409B #9B4D2A #789B2A
monochromatic
#10183B #1D2C6B #2A409B #3955C9 #697ED6

Accessibility & contrast

On white

9.11
#2A409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A409B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A409B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409B#FFFFFF#000000##FFFFFF
##2A409B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a409b;
/* rgb */ color: rgb(42, 64, 155);
/* oklch */ color: oklch(41.2% 0.151 268.6);
Tailwind
colors: {
  custom: {
    50: '#7374b9',
    500: '#2a409b',
    950: '#000000',
  },
}
SCSS
$custom: #2a409b;
$custom-light: #7374b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409b",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 228.319,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41172,
    "c": 0.15052,
    "h": 268.6
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#2A409B
secondary
#BDAC64
accent
#C347E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A409B

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

Preview Lab → · Contrast checker → · Palette generator →

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