#2A409A#2A409A

#2A409A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.149 H 268.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2A409A
RGBrgb(42, 64, 154)
HSLhsl(228, 57%, 38%)
HSVhsv(228, 73%, 60%)
CMYKcmyk(72.7%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.62, 23.69, -51.71)
CIE-LCHlch(30.62, 56.88, 294.61°)
OKLaboklab(41.09% -0.0038 -0.1491)
OKLCHoklch(41.09% 0.149 268.5)
XYZxyz(8.6190, 6.4912, 31.3643)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409A #9A842A
analogous
#2A789A #2A409A #4C2A9A
triadic
#2A409A #9A2A40 #409A2A
tetradic
#2A409A #9A2A78 #9A842A #2A9A4C
square
#2A409A #9A2A78 #9A842A #2A9A4C
split-complementary
#2A409A #9A4C2A #789A2A
monochromatic
#10183A #1D2C6A #2A409A #3855C9 #687ED6

Accessibility & contrast

On white

9.14
#2A409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A409A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409A#FFFFFF#000000##FFFFFF
##2A409A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a409a;
/* rgb */ color: rgb(42, 64, 154);
/* oklch */ color: oklch(41.1% 0.149 268.5);
Tailwind
colors: {
  custom: {
    50: '#7374b8',
    500: '#2a409a',
    950: '#000000',
  },
}
SCSS
$custom: #2a409a;
$custom-light: #7374b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409a",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 228.214,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41088,
    "c": 0.14912,
    "h": 268.5
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#2A409A
secondary
#BCAB63
accent
#C247E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A409A

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

Preview Lab → · Contrast checker → · Palette generator →

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