#2C4072#2C4072

#2C4072 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.089 H 265.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2C4072
RGBrgb(44, 64, 114)
HSLhsl(223, 44%, 31%)
HSVhsv(223, 61%, 45%)
CMYKcmyk(61.4%, 43.9%, 0%, 55.3%)
CIE-LABlab(27.89, 8.88, -31.28)
CIE-LCHlch(27.89, 32.52, 285.86°)
OKLaboklab(38.14% -0.0064 -0.089)
OKLCHoklch(38.14% 0.089 265.9)
XYZxyz(5.9083, 5.4167, 16.6505)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4072 #725E2C
analogous
#2C6372 #2C4072 #3B2C72
triadic
#2C4072 #722C40 #40722C
tetradic
#2C4072 #722C63 #725E2C #2C723B
square
#2C4072 #722C63 #725E2C #2C723B
split-complementary
#2C4072 #723B2C #63722C
monochromatic
#0A0E1A #1B2746 #2C4072 #3D599E #5976BF

Accessibility & contrast

On white

10.08
#2C4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C4072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4072
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4072#FFFFFF#000000##FFFFFF
##2C40721.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c4072;
/* rgb */ color: rgb(44, 64, 114);
/* oklch */ color: oklch(38.1% 0.089 265.9);
Tailwind
colors: {
  custom: {
    50: '#6c749b',
    500: '#2c4072',
    950: '#000000',
  },
}
SCSS
$custom: #2c4072;
$custom-light: #6c749b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4072",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 222.857,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38142,
    "c": 0.08919,
    "h": 265.9
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#2C4072
secondary
#A48D56
accent
#AF54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4072

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

Preview Lab → · Contrast checker → · Palette generator →

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