#2D4A71#2D4A71

#2D4A71 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.075 H 256.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4A71
RGBrgb(45, 74, 113)
HSLhsl(214, 43%, 31%)
HSVhsv(214, 60%, 44%)
CMYKcmyk(60.2%, 34.5%, 0%, 55.7%)
CIE-LABlab(30.99, 2.04, -25.74)
CIE-LCHlch(30.99, 25.82, 274.53°)
OKLaboklab(40.54% -0.0178 -0.0727)
OKLCHoklch(40.54% 0.075 256.2)
XYZxyz(6.5106, 6.6472, 16.5595)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A71 #71542D
analogous
#2D6C71 #2D4A71 #322D71
triadic
#2D4A71 #712D4A #4A712D
tetradic
#2D4A71 #712D6C #71542D #2D7132
square
#2D4A71 #712D6C #71542D #2D7132
split-complementary
#2D4A71 #71322D #6C712D
monochromatic
#0A1119 #1C2D45 #2D4A71 #3E679D #5B85BE

Accessibility & contrast

On white

9.01
#2D4A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A71
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A71#FFFFFF#000000##FFFFFF
##2D4A711.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C73
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4a71;
/* rgb */ color: rgb(45, 74, 113);
/* oklch */ color: oklch(40.5% 0.075 256.2);
Tailwind
colors: {
  custom: {
    50: '#6c7c9a',
    500: '#2d4a71',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a71;
$custom-light: #6c7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a71",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 214.412,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.07481,
    "h": 256.2
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#2D4A71
secondary
#A38257
accent
#9D55D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2D4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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