#2C4672#2C4672

#2C4672 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.081 H 260.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2C4672
RGBrgb(44, 70, 114)
HSLhsl(218, 44%, 31%)
HSVhsv(218, 61%, 45%)
CMYKcmyk(61.4%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.74, 4.83, -28.35)
CIE-LCHlch(29.74, 28.75, 279.66°)
OKLaboklab(39.57% -0.0136 -0.0803)
OKLCHoklch(39.57% 0.081 260.4)
XYZxyz(6.2651, 6.1302, 16.7694)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4672 #72582C
analogous
#2C6972 #2C4672 #352C72
triadic
#2C4672 #722C46 #46722C
tetradic
#2C4672 #722C69 #72582C #2C7235
square
#2C4672 #722C69 #72582C #2C7235
split-complementary
#2C4672 #72352C #69722C
monochromatic
#0A101A #1B2B46 #2C4672 #3D619E #597FBF

Accessibility & contrast

On white

9.43
#2C4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4672
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4672#FFFFFF#000000##FFFFFF
##2C46721.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4672;
/* rgb */ color: rgb(44, 70, 114);
/* oklch */ color: oklch(39.6% 0.081 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c799b',
    500: '#2c4672',
    950: '#000000',
  },
}
SCSS
$custom: #2c4672;
$custom-light: #6c799b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4672",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 217.714,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.08146,
    "h": 260.4
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#2C4672
secondary
#A48756
accent
#A454D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4672

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

Preview Lab → · Contrast checker → · Palette generator →

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