#2A409C#2A409C

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

Color values

HEX#2A409C
RGBrgb(42, 64, 156)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 73%, 61%)
CMYKcmyk(73.1%, 59%, 0%, 38.8%)
CIE-LABlab(30.78, 24.45, -52.66)
CIE-LCHlch(30.78, 58.06, 294.90°)
OKLaboklab(41.26% -0.0037 -0.1519)
OKLCHoklch(41.26% 0.152 268.6)
XYZxyz(8.7869, 6.5584, 32.2489)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A409C #9C862A
analogous
#2A799C #2A409C #4D2A9C
triadic
#2A409C #9C2A40 #409C2A
tetradic
#2A409C #9C2A79 #9C862A #2A9C4D
square
#2A409C #9C2A79 #9C862A #2A9C4D
split-complementary
#2A409C #9C4D2A #799C2A
monochromatic
#10183C #1D2C6C #2A409C #3955CA #6A7FD7

Accessibility & contrast

On white

9.08
#2A409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A409C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A409C#FFFFFF#000000##FFFFFF
##2A409C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a409c;
/* rgb */ color: rgb(42, 64, 156);
/* oklch */ color: oklch(41.3% 0.152 268.6);
Tailwind
colors: {
  custom: {
    50: '#7474ba',
    500: '#2a409c',
    950: '#000000',
  },
}
SCSS
$custom: #2a409c;
$custom-light: #7474ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a409c",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 228.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41258,
    "c": 0.15192,
    "h": 268.6
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#2A409C
secondary
#BDAC65
accent
#C347E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A409C

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

Preview Lab → · Contrast checker → · Palette generator →

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