#2C4372#2C4372

#2C4372 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.085 H 263.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2C4372
RGBrgb(44, 67, 114)
HSLhsl(220, 44%, 31%)
HSVhsv(220, 61%, 45%)
CMYKcmyk(61.4%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.81, 6.85, -29.82)
CIE-LCHlch(28.81, 30.59, 282.93°)
OKLaboklab(38.85% -0.01 -0.0846)
OKLCHoklch(38.85% 0.085 263.3)
XYZxyz(6.0821, 5.7642, 16.7084)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4372 #725B2C
analogous
#2C6672 #2C4372 #382C72
triadic
#2C4372 #722C43 #43722C
tetradic
#2C4372 #722C66 #725B2C #2C7238
square
#2C4372 #722C66 #725B2C #2C7238
split-complementary
#2C4372 #72382C #66722C
monochromatic
#0A0F1A #1B2946 #2C4372 #3D5D9E #597BBF

Accessibility & contrast

On white

9.75
#2C4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4372
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4372#FFFFFF#000000##FFFFFF
##2C43721.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#264171
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4372;
/* rgb */ color: rgb(44, 67, 114);
/* oklch */ color: oklch(38.9% 0.085 263.3);
Tailwind
colors: {
  custom: {
    50: '#6c769b',
    500: '#2c4372',
    950: '#000000',
  },
}
SCSS
$custom: #2c4372;
$custom-light: #6c769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4372",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 220.286,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.08523,
    "h": 263.3
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#2C4372
secondary
#A48A56
accent
#AA54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4372

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

Preview Lab → · Contrast checker → · Palette generator →

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