#2D4573#2D4573

#2D4573 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.084 H 262.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D4573
RGBrgb(45, 69, 115)
HSLhsl(219, 44%, 31%)
HSVhsv(219, 61%, 45%)
CMYKcmyk(60.9%, 40%, 0%, 54.9%)
CIE-LABlab(29.54, 6.09, -29.28)
CIE-LCHlch(29.54, 29.91, 281.75°)
OKLaboklab(39.45% -0.0111 -0.083)
OKLCHoklch(39.45% 0.084 262.4)
XYZxyz(6.3038, 6.0514, 17.0522)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4573 #735B2D
analogous
#2D6873 #2D4573 #382D73
triadic
#2D4573 #732D45 #45732D
tetradic
#2D4573 #732D68 #735B2D #2D7338
square
#2D4573 #732D68 #735B2D #2D7338
split-complementary
#2D4573 #73382D #68732D
monochromatic
#0B101B #1C2B47 #2D4573 #3E5F9F #5B7EBF

Accessibility & contrast

On white

9.50
#2D4573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4573
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4573#FFFFFF#000000##FFFFFF
##2D45731.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324975
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4573;
/* rgb */ color: rgb(45, 69, 115);
/* oklch */ color: oklch(39.5% 0.084 262.4);
Tailwind
colors: {
  custom: {
    50: '#6c789b',
    500: '#2d4573',
    950: '#000000',
  },
}
SCSS
$custom: #2d4573;
$custom-light: #6c789b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4573",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 115
  },
  "hsl": {
    "h": 219.429,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.08379,
    "h": 262.4
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#2D4573
secondary
#A48A57
accent
#A854D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4573

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

Preview Lab → · Contrast checker → · Palette generator →

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