#2D405B#2D405B

#2D405B is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.8% C 0.053 H 257.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2D405B
RGBrgb(45, 64, 91)
HSLhsl(215, 34%, 27%)
HSVhsv(215, 51%, 36%)
CMYKcmyk(50.5%, 29.7%, 0%, 64.3%)
CIE-LABlab(26.68, 0.91, -18.43)
CIE-LCHlch(26.68, 18.46, 272.81°)
OKLaboklab(36.8% -0.0117 -0.0516)
OKLCHoklch(36.8% 0.053 257.2)
XYZxyz(4.8033, 4.9797, 10.6036)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D405B #5B482D
analogous
#2D575B #2D405B #312D5B
triadic
#2D405B #5B2D40 #405B2D
tetradic
#2D405B #5B2D57 #5B482D #2D5B31
square
#2D405B #5B2D57 #5B482D #2D5B31
split-complementary
#2D405B #5B312D #575B2D
monochromatic
#0A0E14 #192332 #2D405B #415D84 #577AAC

Accessibility & contrast

On white

10.52
#2D405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D405B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D405B#FFFFFF#000000##FFFFFF
##2D405B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425C
Deuteranopia (green-blind)
#303D5A
Tritanopia (blue-blind)
#1A4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d405b;
/* rgb */ color: rgb(45, 64, 91);
/* oklch */ color: oklch(36.8% 0.053 257.2);
Tailwind
colors: {
  custom: {
    50: '#697489',
    500: '#2d405b',
    950: '#000000',
  },
}
SCSS
$custom: #2d405b;
$custom-light: #697489;
$custom-dark: #000000;
JSON
{
  "hex": "#2d405b",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 215.217,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.05288,
    "h": 257.2
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#2D405B
secondary
#8D7757
accent
#9D5ECA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2D405B

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

Preview Lab → · Contrast checker → · Palette generator →

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