#2D405C#2D405C

#2D405C is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.9% C 0.054 H 257.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2D405C
RGBrgb(45, 64, 92)
HSLhsl(216, 34%, 27%)
HSVhsv(216, 51%, 36%)
CMYKcmyk(51.1%, 30.4%, 0%, 63.9%)
CIE-LABlab(26.73, 1.25, -19.01)
CIE-LCHlch(26.73, 19.05, 273.75°)
OKLaboklab(36.85% -0.0114 -0.0532)
OKLCHoklch(36.85% 0.054 257.9)
XYZxyz(4.8467, 4.9971, 10.8323)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D405C #5C492D
analogous
#2D585C #2D405C #322D5C
triadic
#2D405C #5C2D40 #405C2D
tetradic
#2D405C #5C2D58 #5C492D #2D5C32
square
#2D405C #5C2D58 #5C492D #2D5C32
split-complementary
#2D405C #5C322D #585C2D
monochromatic
#0A0E15 #192333 #2D405C #415D85 #5779AD

Accessibility & contrast

On white

10.50
#2D405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D405C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D405C#FFFFFF#000000##FFFFFF
##2D405C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425D
Deuteranopia (green-blind)
#303D5B
Tritanopia (blue-blind)
#19464A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d405c;
/* rgb */ color: rgb(45, 64, 92);
/* oklch */ color: oklch(36.9% 0.054 257.9);
Tailwind
colors: {
  custom: {
    50: '#69748a',
    500: '#2d405c',
    950: '#000000',
  },
}
SCSS
$custom: #2d405c;
$custom-light: #69748a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d405c",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 215.745,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.0544,
    "h": 257.9
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#2D405C
secondary
#8E7857
accent
#9E5DCA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2D405C

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

Preview Lab → · Contrast checker → · Palette generator →

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