#2C4B72#2C4B72

#2C4B72 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.8% C 0.076 H 254.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2C4B72
RGBrgb(44, 75, 114)
HSLhsl(213, 44%, 31%)
HSVhsv(213, 61%, 45%)
CMYKcmyk(61.4%, 34.2%, 0%, 55.3%)
CIE-LABlab(31.31, 1.52, -25.88)
CIE-LCHlch(31.31, 25.92, 273.35°)
OKLaboklab(40.79% -0.0197 -0.073)
OKLCHoklch(40.79% 0.076 254.9)
XYZxyz(6.5910, 6.7820, 16.8780)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B72 #72532C
analogous
#2C6E72 #2C4B72 #302C72
triadic
#2C4B72 #722C4B #4B722C
tetradic
#2C4B72 #722C6E #72532C #2C7230
square
#2C4B72 #722C6E #72532C #2C7230
split-complementary
#2C4B72 #72302C #6E722C
monochromatic
#0A111A #1B2E46 #2C4B72 #3D689E #5986BF

Accessibility & contrast

On white

8.91
#2C4B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C4B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B72
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B72#FFFFFF#000000##FFFFFF
##2C4B721.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#324771
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4b72;
/* rgb */ color: rgb(44, 75, 114);
/* oklch */ color: oklch(40.8% 0.076 254.9);
Tailwind
colors: {
  custom: {
    50: '#6c7d9a',
    500: '#2c4b72',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b72;
$custom-light: #6c7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b72",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 114
  },
  "hsl": {
    "h": 213.429,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.07566,
    "h": 254.9
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#2C4B72
secondary
#A48156
accent
#9B54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4B72

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

Preview Lab → · Contrast checker → · Palette generator →

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