#2C4976#2C4976

#2C4976 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.5% C 0.084 H 258.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2C4976
RGBrgb(44, 73, 118)
HSLhsl(216, 46%, 32%)
HSVhsv(216, 63%, 46%)
CMYKcmyk(62.7%, 38.1%, 0%, 53.7%)
CIE-LABlab(30.90, 4.30, -29.03)
CIE-LCHlch(30.90, 29.34, 278.43°)
OKLaboklab(40.55% -0.0162 -0.0823)
OKLCHoklch(40.55% 0.084 258.9)
XYZxyz(6.6901, 6.6080, 18.0589)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4976 #76592C
analogous
#2C6E76 #2C4976 #342C76
triadic
#2C4976 #762C49 #49762C
tetradic
#2C4976 #762C6E #76592C #2C7634
square
#2C4976 #762C6E #76592C #2C7634
split-complementary
#2C4976 #76342C #6E762C
monochromatic
#0B121D #1B2D49 #2C4976 #3D65A3 #5B83C2

Accessibility & contrast

On white

9.04
#2C4976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C4976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4976
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4976#FFFFFF#000000##FFFFFF
##2C49761.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D78
Deuteranopia (green-blind)
#2C4675
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4976;
/* rgb */ color: rgb(44, 73, 118);
/* oklch */ color: oklch(40.5% 0.084 258.9);
Tailwind
colors: {
  custom: {
    50: '#6c7b9e',
    500: '#2c4976',
    950: '#000000',
  },
}
SCSS
$custom: #2c4976;
$custom-light: #6c7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4976",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 118
  },
  "hsl": {
    "h": 216.486,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.08384,
    "h": 258.9
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#2C4976
secondary
#A78856
accent
#A252D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4976

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

Preview Lab → · Contrast checker → · Palette generator →

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