#2D4571#2D4571

#2D4571 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.081 H 261.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2D4571
RGBrgb(45, 69, 113)
HSLhsl(219, 43%, 31%)
HSVhsv(219, 60%, 44%)
CMYKcmyk(60.2%, 38.9%, 0%, 55.7%)
CIE-LABlab(29.43, 5.36, -28.20)
CIE-LCHlch(29.43, 28.71, 280.76°)
OKLaboklab(39.33% -0.0117 -0.0799)
OKLCHoklch(39.33% 0.081 261.7)
XYZxyz(6.1899, 6.0059, 16.4526)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4571 #71592D
analogous
#2D6771 #2D4571 #372D71
triadic
#2D4571 #712D45 #45712D
tetradic
#2D4571 #712D67 #71592D #2D7137
square
#2D4571 #712D67 #71592D #2D7137
split-complementary
#2D4571 #71372D #67712D
monochromatic
#0A1019 #1C2A45 #2D4571 #3E609D #5B7EBE

Accessibility & contrast

On white

9.54
#2D4571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D4571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4571
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4571#FFFFFF#000000##FFFFFF
##2D45711.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#004F55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4571;
/* rgb */ color: rgb(45, 69, 113);
/* oklch */ color: oklch(39.3% 0.081 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c789a',
    500: '#2d4571',
    950: '#000000',
  },
}
SCSS
$custom: #2d4571;
$custom-light: #6c789a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4571",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 113
  },
  "hsl": {
    "h": 218.824,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.08073,
    "h": 261.7
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#2D4571
secondary
#A38857
accent
#A655D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4571

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

Preview Lab → · Contrast checker → · Palette generator →

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