#2C4579#2C4579

#2C4579 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.093 H 263.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2C4579
RGBrgb(44, 69, 121)
HSLhsl(221, 47%, 32%)
HSVhsv(221, 64%, 47%)
CMYKcmyk(63.6%, 43%, 0%, 52.5%)
CIE-LABlab(29.84, 8.09, -32.58)
CIE-LCHlch(29.84, 33.57, 283.95°)
OKLaboklab(39.78% -0.0107 -0.0927)
OKLCHoklch(39.78% 0.093 263.4)
XYZxyz(6.6168, 6.1716, 18.9280)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4579 #79602C
analogous
#2C6C79 #2C4579 #392C79
triadic
#2C4579 #792C45 #45792C
tetradic
#2C4579 #792C6C #79602C #2C7939
square
#2C4579 #792C6C #79602C #2C7939
split-complementary
#2C4579 #79392C #6C792C
monochromatic
#0B121F #1C2B4C #2C4579 #3C5FA6 #5C7DC4

Accessibility & contrast

On white

9.40
#2C4579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4579
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4579#FFFFFF#000000##FFFFFF
##2C45791.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4579;
/* rgb */ color: rgb(44, 69, 121);
/* oklch */ color: oklch(39.8% 0.093 263.4);
Tailwind
colors: {
  custom: {
    50: '#6d78a0',
    500: '#2c4579',
    950: '#000000',
  },
}
SCSS
$custom: #2c4579;
$custom-light: #6d78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4579",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 220.519,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39785,
    "c": 0.09334,
    "h": 263.4
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#2C4579
secondary
#AA8F57
accent
#AB51D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4579

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

Preview Lab → · Contrast checker → · Palette generator →

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