#2D409A#2D409A

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

Color values

HEX#2D409A
RGBrgb(45, 64, 154)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 60%)
CMYKcmyk(70.8%, 58.4%, 0%, 39.6%)
CIE-LABlab(30.78, 24.11, -51.45)
CIE-LCHlch(30.78, 56.82, 295.11°)
OKLaboklab(41.25% -0.0008 -0.1482)
OKLCHoklch(41.25% 0.148 269.7)
XYZxyz(8.7463, 6.5569, 31.3703)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D409A #9A872D
analogous
#2D779A #2D409A #512D9A
triadic
#2D409A #9A2D40 #409A2D
tetradic
#2D409A #9A2D77 #9A872D #2D9A51
square
#2D409A #9A2D77 #9A872D #2D9A51
split-complementary
#2D409A #9A512D #779A2D
monochromatic
#11193B #1F2C6B #2D409A #3E56C7 #6D7FD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D409A#FFFFFF#000000##FFFFFF
##2D409A1.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)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d409a;
/* rgb */ color: rgb(45, 64, 154);
/* oklch */ color: oklch(41.2% 0.148 269.7);
Tailwind
colors: {
  custom: {
    50: '#7474b8',
    500: '#2d409a',
    950: '#000000',
  },
}
SCSS
$custom: #2d409a;
$custom-light: #7474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d409a",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 229.541,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.14823,
    "h": 269.7
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#2D409A
secondary
#BBAD67
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D409A

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

Preview Lab → · Contrast checker → · Palette generator →

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