#2C4472#2C4472

#2C4472 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.084 H 262.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2C4472
RGBrgb(44, 68, 114)
HSLhsl(219, 44%, 31%)
HSVhsv(219, 61%, 45%)
CMYKcmyk(61.4%, 40.4%, 0%, 55.3%)
CIE-LABlab(29.12, 6.17, -29.33)
CIE-LCHlch(29.12, 29.97, 281.88°)
OKLaboklab(39.09% -0.0112 -0.0832)
OKLCHoklch(39.09% 0.084 262.3)
XYZxyz(6.1420, 5.8841, 16.7284)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4472 #725A2C
analogous
#2C6772 #2C4472 #372C72
triadic
#2C4472 #722C44 #44722C
tetradic
#2C4472 #722C67 #725A2C #2C7237
square
#2C4472 #722C67 #725A2C #2C7237
split-complementary
#2C4472 #72372C #67722C
monochromatic
#0A0F1A #1B2A46 #2C4472 #3D5E9E #597CBF

Accessibility & contrast

On white

9.65
#2C4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4472
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4472#FFFFFF#000000##FFFFFF
##2C44721.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4472;
/* rgb */ color: rgb(44, 68, 114);
/* oklch */ color: oklch(39.1% 0.084 262.3);
Tailwind
colors: {
  custom: {
    50: '#6c779b',
    500: '#2c4472',
    950: '#000000',
  },
}
SCSS
$custom: #2c4472;
$custom-light: #6c779b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4472",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 219.429,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.08395,
    "h": 262.3
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#2C4472
secondary
#A48956
accent
#A854D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4472

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

Preview Lab → · Contrast checker → · Palette generator →

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