#2A409E#2A409E

#2A409E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.155 H 268.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2A409E
RGBrgb(42, 64, 158)
HSLhsl(229, 58%, 39%)
HSVhsv(229, 73%, 62%)
CMYKcmyk(73.4%, 59.5%, 0%, 38%)
CIE-LABlab(30.94, 25.20, -53.61)
CIE-LCHlch(30.94, 59.24, 295.18°)
OKLaboklab(41.43% -0.0037 -0.1547)
OKLCHoklch(41.43% 0.155 268.6)
XYZxyz(8.9577, 6.6267, 33.1481)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409E #9E882A
analogous
#2A7A9E #2A409E #4E2A9E
triadic
#2A409E #9E2A40 #409E2A
tetradic
#2A409E #9E2A7A #9E882A #2A9E4E
square
#2A409E #9E2A7A #9E882A #2A9E4E
split-complementary
#2A409E #9E4E2A #7A9E2A
monochromatic
#10193D #1D2C6E #2A409E #3A56CB #6B7FD8

Accessibility & contrast

On white

9.03
#2A409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A409E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409E#FFFFFF#000000##FFFFFF
##2A409E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a409e;
/* rgb */ color: rgb(42, 64, 158);
/* oklch */ color: oklch(41.4% 0.155 268.6);
Tailwind
colors: {
  custom: {
    50: '#7474bb',
    500: '#2a409e',
    950: '#000000',
  },
}
SCSS
$custom: #2a409e;
$custom-light: #7474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409e",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 228.621,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.1547,
    "h": 268.6
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#2A409E
secondary
#BEAD66
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A409E

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

Preview Lab → · Contrast checker → · Palette generator →

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