#2D4072#2D4072

#2D4072 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.089 H 266.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4072
RGBrgb(45, 64, 114)
HSLhsl(223, 43%, 31%)
HSVhsv(223, 61%, 45%)
CMYKcmyk(60.5%, 43.9%, 0%, 55.3%)
CIE-LABlab(27.95, 9.11, -31.18)
CIE-LCHlch(27.95, 32.48, 286.29°)
OKLaboklab(38.2% -0.0053 -0.0887)
OKLCHoklch(38.2% 0.089 266.6)
XYZxyz(5.9518, 5.4391, 16.6525)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4072 #725F2D
analogous
#2D6272 #2D4072 #3C2D72
triadic
#2D4072 #722D40 #40722D
tetradic
#2D4072 #722D62 #725F2D #2D723C
square
#2D4072 #722D62 #725F2D #2D723C
split-complementary
#2D4072 #723C2D #62722D
monochromatic
#0A0F1A #1C2746 #2D4072 #3E599E #5B76BE

Accessibility & contrast

On white

10.06
#2D4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D4072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4072
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4072#FFFFFF#000000##FFFFFF
##2D40721.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4072;
/* rgb */ color: rgb(45, 64, 114);
/* oklch */ color: oklch(38.2% 0.089 266.6);
Tailwind
colors: {
  custom: {
    50: '#6c749b',
    500: '#2d4072',
    950: '#000000',
  },
}
SCSS
$custom: #2d4072;
$custom-light: #6c749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4072",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 223.478,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38204,
    "c": 0.08881,
    "h": 266.6
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#2D4072
secondary
#A38F57
accent
#B055D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4072

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

Preview Lab → · Contrast checker → · Palette generator →

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