#2D405D#2D405D

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

Color values

HEX#2D405D
RGBrgb(45, 64, 93)
HSLhsl(216, 35%, 27%)
HSVhsv(216, 52%, 36%)
CMYKcmyk(51.6%, 31.2%, 0%, 63.5%)
CIE-LABlab(26.78, 1.59, -19.58)
CIE-LCHlch(26.78, 19.64, 274.64°)
OKLaboklab(36.91% -0.011 -0.0548)
OKLCHoklch(36.91% 0.056 258.6)
XYZxyz(4.8907, 5.0147, 11.0640)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D405D #5D4A2D
analogous
#2D585D #2D405D #322D5D
triadic
#2D405D #5D2D40 #405D2D
tetradic
#2D405D #5D2D58 #5D4A2D #2D5D32
square
#2D405D #5D2D58 #5D4A2D #2D5D32
split-complementary
#2D405D #5D322D #585D2D
monochromatic
#0A0E15 #192434 #2D405D #415C86 #5779AE

Accessibility & contrast

On white

10.48
#2D405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D405D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D405D#FFFFFF#000000##FFFFFF
##2D405D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425E
Deuteranopia (green-blind)
#2F3D5C
Tritanopia (blue-blind)
#19464A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d405d;
/* rgb */ color: rgb(45, 64, 93);
/* oklch */ color: oklch(36.9% 0.056 258.6);
Tailwind
colors: {
  custom: {
    50: '#69748b',
    500: '#2d405d',
    950: '#000000',
  },
}
SCSS
$custom: #2d405d;
$custom-light: #69748b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d405d",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 216.25,
    "s": 34.783,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3691,
    "c": 0.05595,
    "h": 258.6
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#2D405D
secondary
#8F7957
accent
#9F5DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2D405D

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

Preview Lab → · Contrast checker → · Palette generator →

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