#2D3552#2D3552

#2D3552 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.6% C 0.052 H 271.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2D3552
RGBrgb(45, 53, 82)
HSLhsl(227, 29%, 25%)
HSVhsv(227, 45%, 32%)
CMYKcmyk(45.1%, 35.4%, 0%, 67.8%)
CIE-LABlab(22.70, 5.32, -18.73)
CIE-LCHlch(22.70, 19.47, 285.86°)
OKLaboklab(33.55% 0.0014 -0.0524)
OKLCHoklch(33.55% 0.052 271.6)
XYZxyz(3.8778, 3.7131, 8.4934)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3552 #524A2D
analogous
#2D4852 #2D3552 #382D52
triadic
#2D3552 #522D35 #35522D
tetradic
#2D3552 #522D48 #524A2D #2D5238
square
#2D3552 #522D48 #524A2D #2D5238
split-complementary
#2D3552 #52382D #48522D
monochromatic
#0B0D14 #171B2A #2D3552 #434F7A #5868A1

Accessibility & contrast

On white

12.05
#2D3552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3552
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3552#FFFFFF#000000##FFFFFF
##2D35521.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#283551
Tritanopia (blue-blind)
#213B3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3552;
/* rgb */ color: rgb(45, 53, 82);
/* oklch */ color: oklch(33.6% 0.052 271.6);
Tailwind
colors: {
  custom: {
    50: '#686c82',
    500: '#2d3552',
    950: '#000000',
  },
}
SCSS
$custom: #2d3552;
$custom-light: #686c82;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3552",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 82
  },
  "hsl": {
    "h": 227.027,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33551,
    "c": 0.05246,
    "h": 271.6
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#2D3552
secondary
#847A57
accent
#B062C5
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D3552

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

Preview Lab → · Contrast checker → · Palette generator →

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