#2C4572#2C4572

#2C4572 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.083 H 261.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4572
RGBrgb(44, 69, 114)
HSLhsl(219, 44%, 31%)
HSVhsv(219, 61%, 45%)
CMYKcmyk(61.4%, 39.5%, 0%, 55.3%)
CIE-LABlab(29.43, 5.50, -28.84)
CIE-LCHlch(29.43, 29.36, 280.79°)
OKLaboklab(39.33% -0.0124 -0.0817)
OKLCHoklch(39.33% 0.083 261.4)
XYZxyz(6.2030, 6.0061, 16.7487)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4572 #72592C
analogous
#2C6872 #2C4572 #362C72
triadic
#2C4572 #722C45 #45722C
tetradic
#2C4572 #722C68 #72592C #2C7236
square
#2C4572 #722C68 #72592C #2C7236
split-complementary
#2C4572 #72362C #68722C
monochromatic
#0A101A #1B2A46 #2C4572 #3D609E #597EBF

Accessibility & contrast

On white

9.54
#2C4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4572
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4572#FFFFFF#000000##FFFFFF
##2C45721.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4572;
/* rgb */ color: rgb(44, 69, 114);
/* oklch */ color: oklch(39.3% 0.083 261.4);
Tailwind
colors: {
  custom: {
    50: '#6c789b',
    500: '#2c4572',
    950: '#000000',
  },
}
SCSS
$custom: #2c4572;
$custom-light: #6c789b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4572",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 218.571,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3933,
    "c": 0.08269,
    "h": 261.4
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#2C4572
secondary
#A48856
accent
#A654D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4572

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

Preview Lab → · Contrast checker → · Palette generator →

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