#2C4D71#2C4D71

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

Color values

HEX#2C4D71
RGBrgb(44, 77, 113)
HSLhsl(211, 44%, 31%)
HSVhsv(211, 61%, 44%)
CMYKcmyk(61.1%, 31.9%, 0%, 55.7%)
CIE-LABlab(31.89, -0.15, -24.34)
CIE-LCHlch(31.89, 24.34, 269.65°)
OKLaboklab(41.23% -0.0225 -0.0686)
OKLCHoklch(41.23% 0.072 251.8)
XYZxyz(6.6722, 7.0349, 16.6258)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D71 #71502C
analogous
#2C6F71 #2C4D71 #2D2C71
triadic
#2C4D71 #712C4D #4D712C
tetradic
#2C4D71 #712C6F #71502C #2C712D
square
#2C4D71 #712C6F #71502C #2C712D
split-complementary
#2C4D71 #712D2C #6F712C
monochromatic
#0A1119 #1B2F45 #2C4D71 #3D6B9D #5989BE

Accessibility & contrast

On white

8.72
#2C4D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C4D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D71
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D71#FFFFFF#000000##FFFFFF
##2C4D711.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#00555A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4d71;
/* rgb */ color: rgb(44, 77, 113);
/* oklch */ color: oklch(41.2% 0.072 251.8);
Tailwind
colors: {
  custom: {
    50: '#6b7e9a',
    500: '#2c4d71',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d71;
$custom-light: #6b7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d71",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 211.304,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.07215,
    "h": 251.8
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#2C4D71
secondary
#A37E56
accent
#9754D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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