#2D4372#2D4372

#2D4372 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.085 H 263.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2D4372
RGBrgb(45, 67, 114)
HSLhsl(221, 43%, 31%)
HSVhsv(221, 61%, 45%)
CMYKcmyk(60.5%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.87, 7.07, -29.72)
CIE-LCHlch(28.87, 30.55, 283.38°)
OKLaboklab(38.91% -0.009 -0.0843)
OKLCHoklch(38.91% 0.085 263.9)
XYZxyz(6.1256, 5.7866, 16.7105)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4372 #725C2D
analogous
#2D6572 #2D4372 #392D72
triadic
#2D4372 #722D43 #43722D
tetradic
#2D4372 #722D65 #725C2D #2D7239
square
#2D4372 #722D65 #725C2D #2D7239
split-complementary
#2D4372 #72392D #65722D
monochromatic
#0A0F1A #1C2946 #2D4372 #3E5D9E #5B7BBE

Accessibility & contrast

On white

9.73
#2D4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4372
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4372#FFFFFF#000000##FFFFFF
##2D43721.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4372;
/* rgb */ color: rgb(45, 67, 114);
/* oklch */ color: oklch(38.9% 0.085 263.9);
Tailwind
colors: {
  custom: {
    50: '#6c769b',
    500: '#2d4372',
    950: '#000000',
  },
}
SCSS
$custom: #2d4372;
$custom-light: #6c769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4372",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 220.87,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38911,
    "c": 0.08481,
    "h": 263.9
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#2D4372
secondary
#A38B57
accent
#AB55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4372

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

Preview Lab → · Contrast checker → · Palette generator →

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