#2A409D#2A409D

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

Color values

HEX#2A409D
RGBrgb(42, 64, 157)
HSLhsl(229, 58%, 39%)
HSVhsv(229, 73%, 62%)
CMYKcmyk(73.2%, 59.2%, 0%, 38.4%)
CIE-LABlab(30.86, 24.83, -53.14)
CIE-LCHlch(30.86, 58.65, 295.04°)
OKLaboklab(41.34% -0.0037 -0.1533)
OKLCHoklch(41.34% 0.153 268.6)
XYZxyz(8.8719, 6.5924, 32.6967)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409D #9D872A
analogous
#2A7A9D #2A409D #4E2A9D
triadic
#2A409D #9D2A40 #409D2A
tetradic
#2A409D #9D2A7A #9D872A #2A9D4E
square
#2A409D #9D2A7A #9D872A #2A9D4E
split-complementary
#2A409D #9D4E2A #7A9D2A
monochromatic
#10193C #1D2C6D #2A409D #3A56CA #6A7FD7

Accessibility & contrast

On white

9.06
#2A409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A409D
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409D#FFFFFF#000000##FFFFFF
##2A409D1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a409d;
/* rgb */ color: rgb(42, 64, 157);
/* oklch */ color: oklch(41.3% 0.153 268.6);
Tailwind
colors: {
  custom: {
    50: '#7474bb',
    500: '#2a409d',
    950: '#000000',
  },
}
SCSS
$custom: #2a409d;
$custom-light: #7474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409d",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 228.522,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41343,
    "c": 0.15332,
    "h": 268.6
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A409D

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

Preview Lab → · Contrast checker → · Palette generator →

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