#2D4E71#2D4E71

#2D4E71 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.071 H 251.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2D4E71
RGBrgb(45, 78, 113)
HSLhsl(211, 43%, 31%)
HSVhsv(211, 60%, 44%)
CMYKcmyk(60.2%, 31%, 0%, 55.7%)
CIE-LABlab(32.25, -0.57, -23.76)
CIE-LCHlch(32.25, 23.76, 268.64°)
OKLaboklab(41.53% -0.0228 -0.0669)
OKLCHoklch(41.53% 0.071 251.2)
XYZxyz(6.7861, 7.1983, 16.6514)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E71 #71502D
analogous
#2D7071 #2D4E71 #2E2D71
triadic
#2D4E71 #712D4E #4E712D
tetradic
#2D4E71 #712D70 #71502D #2D712E
square
#2D4E71 #712D70 #71502D #2D712E
split-complementary
#2D4E71 #712E2D #70712D
monochromatic
#0A1219 #1C3045 #2D4E71 #3E6C9D #5B8BBE

Accessibility & contrast

On white

8.61
#2D4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E71
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E71#FFFFFF#000000##FFFFFF
##2D4E711.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5073
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4e71;
/* rgb */ color: rgb(45, 78, 113);
/* oklch */ color: oklch(41.5% 0.071 251.2);
Tailwind
colors: {
  custom: {
    50: '#6c7f9a',
    500: '#2d4e71',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e71;
$custom-light: #6c7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e71",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 210.882,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.07064,
    "h": 251.2
  },
  "luminance": 0.07199
}

Semantic roles & 50–950 ramp

primary
#2D4E71
secondary
#A37E57
accent
#9655D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2D4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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