#2C4876#2C4876

#2C4876 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.085 H 259.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2C4876
RGBrgb(44, 72, 118)
HSLhsl(217, 46%, 32%)
HSVhsv(217, 63%, 46%)
CMYKcmyk(62.7%, 39%, 0%, 53.7%)
CIE-LABlab(30.59, 4.97, -29.52)
CIE-LCHlch(30.59, 29.93, 279.55°)
OKLaboklab(40.3% -0.015 -0.0837)
OKLCHoklch(40.3% 0.085 259.9)
XYZxyz(6.6249, 6.4776, 18.0372)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4876 #765A2C
analogous
#2C6D76 #2C4876 #352C76
triadic
#2C4876 #762C48 #48762C
tetradic
#2C4876 #762C6D #765A2C #2C7635
square
#2C4876 #762C6D #765A2C #2C7635
split-complementary
#2C4876 #76352C #6D762C
monochromatic
#0B121D #1B2D49 #2C4876 #3D63A3 #5B82C2

Accessibility & contrast

On white

9.15
#2C4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4876
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4876#FFFFFF#000000##FFFFFF
##2C48761.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C78
Deuteranopia (green-blind)
#2B4575
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4876;
/* rgb */ color: rgb(44, 72, 118);
/* oklch */ color: oklch(40.3% 0.085 259.9);
Tailwind
colors: {
  custom: {
    50: '#6c7a9e',
    500: '#2c4876',
    950: '#000000',
  },
}
SCSS
$custom: #2c4876;
$custom-light: #6c7a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4876",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 217.297,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40304,
    "c": 0.08504,
    "h": 259.9
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#2C4876
secondary
#A78956
accent
#A452D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4876

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

Preview Lab → · Contrast checker → · Palette generator →

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