#2D4E72#2D4E72

#2D4E72 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.072 H 251.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2D4E72
RGBrgb(45, 78, 114)
HSLhsl(211, 43%, 31%)
HSVhsv(211, 61%, 45%)
CMYKcmyk(60.5%, 31.6%, 0%, 55.3%)
CIE-LABlab(32.30, -0.21, -24.30)
CIE-LCHlch(32.30, 24.30, 269.51°)
OKLaboklab(41.59% -0.0225 -0.0684)
OKLCHoklch(41.59% 0.072 251.8)
XYZxyz(6.8428, 7.2210, 16.9495)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E72 #72512D
analogous
#2D7072 #2D4E72 #2E2D72
triadic
#2D4E72 #722D4E #4E722D
tetradic
#2D4E72 #722D70 #72512D #2D722E
square
#2D4E72 #722D70 #72512D #2D722E
split-complementary
#2D4E72 #722E2D #70722D
monochromatic
#0A121A #1C3046 #2D4E72 #3E6C9E #5B8BBE

Accessibility & contrast

On white

8.59
#2D4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E72
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E72#FFFFFF#000000##FFFFFF
##2D4E721.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4e72;
/* rgb */ color: rgb(45, 78, 114);
/* oklch */ color: oklch(41.6% 0.072 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c7f9a',
    500: '#2d4e72',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e72;
$custom-light: #6c7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e72",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 211.304,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.07205,
    "h": 251.8
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#2D4E72
secondary
#A37F57
accent
#9755D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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