#2D409E#2D409E

#2D409E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.154 H 269.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2D409E
RGBrgb(45, 64, 158)
HSLhsl(230, 56%, 40%)
HSVhsv(230, 72%, 62%)
CMYKcmyk(71.5%, 59.5%, 0%, 38%)
CIE-LABlab(31.10, 25.61, -53.35)
CIE-LCHlch(31.10, 59.18, 295.64°)
OKLaboklab(41.59% -0.0007 -0.1538)
OKLCHoklch(41.59% 0.154 269.7)
XYZxyz(9.0850, 6.6924, 33.1541)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D409E #9E8B2D
analogous
#2D789E #2D409E #532D9E
triadic
#2D409E #9E2D40 #409E2D
tetradic
#2D409E #9E2D78 #9E8B2D #2D9E53
square
#2D409E #9E2D78 #9E8B2D #2D9E53
split-complementary
#2D409E #9E532D #789E2D
monochromatic
#12193F #1F2D6E #2D409E #4057C9 #6F81D6

Accessibility & contrast

On white

8.98
#2D409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D409E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D409E#FFFFFF#000000##FFFFFF
##2D409E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d409e;
/* rgb */ color: rgb(45, 64, 158);
/* oklch */ color: oklch(41.6% 0.154 269.7);
Tailwind
colors: {
  custom: {
    50: '#7574bb',
    500: '#2d409e',
    950: '#000000',
  },
}
SCSS
$custom: #2d409e;
$custom-light: #7574bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d409e",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 229.912,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41586,
    "c": 0.15383,
    "h": 269.7
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#2D409E
secondary
#BDAF69
accent
#C649DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D409E

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

Preview Lab → · Contrast checker → · Palette generator →

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