#2C4D79#2C4D79

#2C4D79 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.7% C 0.084 H 256.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2C4D79
RGBrgb(44, 77, 121)
HSLhsl(214, 47%, 32%)
HSVhsv(214, 64%, 47%)
CMYKcmyk(63.6%, 36.4%, 0%, 52.5%)
CIE-LABlab(32.31, 2.77, -28.67)
CIE-LCHlch(32.31, 28.80, 275.51°)
OKLaboklab(41.7% -0.02 -0.0812)
OKLCHoklch(41.7% 0.084 256.1)
XYZxyz(7.1425, 7.2231, 19.1032)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D79 #79582C
analogous
#2C7479 #2C4D79 #322C79
triadic
#2C4D79 #792C4D #4D792C
tetradic
#2C4D79 #792C74 #79582C #2C7932
square
#2C4D79 #792C74 #79582C #2C7932
split-complementary
#2C4D79 #79322C #74792C
monochromatic
#0B141F #1C304C #2C4D79 #3C6AA6 #5C88C4

Accessibility & contrast

On white

8.59
#2C4D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C4D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D79
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D79#FFFFFF#000000##FFFFFF
##2C4D791.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#304978
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4d79;
/* rgb */ color: rgb(44, 77, 121);
/* oklch */ color: oklch(41.7% 0.084 256.1);
Tailwind
colors: {
  custom: {
    50: '#6d7ea0',
    500: '#2c4d79',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d79;
$custom-light: #6d7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d79",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 214.286,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.417,
    "c": 0.08362,
    "h": 256.1
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#2C4D79
secondary
#AA8657
accent
#9D51D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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