#2D4973#2D4973

#2D4973 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.4% C 0.079 H 258.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2D4973
RGBrgb(45, 73, 115)
HSLhsl(216, 44%, 31%)
HSVhsv(216, 61%, 45%)
CMYKcmyk(60.9%, 36.5%, 0%, 54.9%)
CIE-LABlab(30.78, 3.42, -27.32)
CIE-LCHlch(30.78, 27.53, 277.14°)
OKLaboklab(40.42% -0.016 -0.0773)
OKLCHoklch(40.42% 0.079 258.3)
XYZxyz(6.5582, 6.5602, 17.1370)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4973 #73572D
analogous
#2D6C73 #2D4973 #342D73
triadic
#2D4973 #732D49 #49732D
tetradic
#2D4973 #732D6C #73572D #2D7334
square
#2D4973 #732D6C #73572D #2D7334
split-complementary
#2D4973 #73342D #6C732D
monochromatic
#0B111B #1C2D47 #2D4973 #3E659F #5B83BF

Accessibility & contrast

On white

9.08
#2D4973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D4973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4973
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4973#FFFFFF#000000##FFFFFF
##2D49731.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#2F4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4973;
/* rgb */ color: rgb(45, 73, 115);
/* oklch */ color: oklch(40.4% 0.079 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7b9b',
    500: '#2d4973',
    950: '#000000',
  },
}
SCSS
$custom: #2d4973;
$custom-light: #6c7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4973",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 216,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.07892,
    "h": 258.3
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#2D4973
secondary
#A48657
accent
#A154D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2D4973

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

Preview Lab → · Contrast checker → · Palette generator →

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