#2D409F#2D409F

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

Color values

HEX#2D409F
RGBrgb(45, 64, 159)
HSLhsl(230, 56%, 40%)
HSVhsv(230, 72%, 62%)
CMYKcmyk(71.7%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.18, 25.99, -53.82)
CIE-LCHlch(31.18, 59.77, 295.77°)
OKLaboklab(41.67% -0.0007 -0.1552)
OKLCHoklch(41.67% 0.155 269.7)
XYZxyz(9.1715, 6.7270, 33.6093)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D409F #9F8C2D
analogous
#2D799F #2D409F #532D9F
triadic
#2D409F #9F2D40 #409F2D
tetradic
#2D409F #9F2D79 #9F8C2D #2D9F53
square
#2D409F #9F2D79 #9F8C2D #2D9F53
split-complementary
#2D409F #9F532D #799F2D
monochromatic
#121A40 #202D6F #2D409F #4057C9 #7081D6

Accessibility & contrast

On white

8.95
#2D409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D409F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D409F#FFFFFF#000000##FFFFFF
##2D409F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d409f;
/* rgb */ color: rgb(45, 64, 159);
/* oklch */ color: oklch(41.7% 0.155 269.7);
Tailwind
colors: {
  custom: {
    50: '#7674bc',
    500: '#2d409f',
    950: '#000000',
  },
}
SCSS
$custom: #2d409f;
$custom-light: #7674bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d409f",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 230,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.41672,
    "c": 0.15523,
    "h": 269.7
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D409F

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

Preview Lab → · Contrast checker → · Palette generator →

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