#2D409B#2D409B

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

Color values

HEX#2D409B
RGBrgb(45, 64, 155)
HSLhsl(230, 55%, 39%)
HSVhsv(230, 71%, 61%)
CMYKcmyk(71%, 58.7%, 0%, 39.2%)
CIE-LABlab(30.86, 24.49, -51.92)
CIE-LCHlch(30.86, 57.41, 295.25°)
OKLaboklab(41.33% -0.0008 -0.1496)
OKLCHoklch(41.33% 0.15 269.7)
XYZxyz(8.8300, 6.5904, 31.8107)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D409B #9B882D
analogous
#2D779B #2D409B #512D9B
triadic
#2D409B #9B2D40 #409B2D
tetradic
#2D409B #9B2D77 #9B882D #2D9B51
square
#2D409B #9B2D77 #9B882D #2D9B51
split-complementary
#2D409B #9B512D #779B2D
monochromatic
#11193C #1F2C6C #2D409B #3E56C7 #6E7FD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D409B#FFFFFF#000000##FFFFFF
##2D409B1.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)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d409b;
/* rgb */ color: rgb(45, 64, 155);
/* oklch */ color: oklch(41.3% 0.150 269.7);
Tailwind
colors: {
  custom: {
    50: '#7574b9',
    500: '#2d409b',
    950: '#000000',
  },
}
SCSS
$custom: #2d409b;
$custom-light: #7574b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d409b",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 229.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.14964,
    "h": 269.7
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#2D409B
secondary
#BCAD68
accent
#C549DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D409B

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

Preview Lab → · Contrast checker → · Palette generator →

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