#2C4E76#2C4E76

#2C4E76 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.078 H 253.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4E76
RGBrgb(44, 78, 118)
HSLhsl(212, 46%, 32%)
HSVhsv(212, 63%, 46%)
CMYKcmyk(62.7%, 33.9%, 0%, 53.7%)
CIE-LABlab(32.46, 1.01, -26.56)
CIE-LCHlch(32.46, 26.58, 272.19°)
OKLaboklab(41.77% -0.0221 -0.075)
OKLCHoklch(41.77% 0.078 253.6)
XYZxyz(7.0319, 7.2916, 18.1729)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E76 #76542C
analogous
#2C7376 #2C4E76 #2F2C76
triadic
#2C4E76 #762C4E #4E762C
tetradic
#2C4E76 #762C73 #76542C #2C762F
square
#2C4E76 #762C73 #76542C #2C762F
split-complementary
#2C4E76 #762F2C #73762C
monochromatic
#0B131D #1B3149 #2C4E76 #3D6BA3 #5B8AC2

Accessibility & contrast

On white

8.54
#2C4E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C4E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E76
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E76#FFFFFF#000000##FFFFFF
##2C4E761.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4e76;
/* rgb */ color: rgb(44, 78, 118);
/* oklch */ color: oklch(41.8% 0.078 253.6);
Tailwind
colors: {
  custom: {
    50: '#6c7f9d',
    500: '#2c4e76',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e76;
$custom-light: #6c7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e76",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 212.432,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.07821,
    "h": 253.6
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#2C4E76
secondary
#A78256
accent
#9952D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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