#2C4E79#2C4E79

#2C4E79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.083 H 255.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2C4E79
RGBrgb(44, 78, 121)
HSLhsl(214, 47%, 32%)
HSVhsv(214, 64%, 47%)
CMYKcmyk(63.6%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.62, 2.11, -28.18)
CIE-LCHlch(32.62, 28.26, 274.29°)
OKLaboklab(41.94% -0.0212 -0.0797)
OKLCHoklch(41.94% 0.083 255.1)
XYZxyz(7.2131, 7.3641, 19.1267)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E79 #79572C
analogous
#2C7579 #2C4E79 #302C79
triadic
#2C4E79 #792C4E #4E792C
tetradic
#2C4E79 #792C75 #79572C #2C7930
square
#2C4E79 #792C75 #79572C #2C7930
split-complementary
#2C4E79 #79302C #75792C
monochromatic
#0B141F #1C314C #2C4E79 #3C6BA6 #5C8AC4

Accessibility & contrast

On white

8.49
#2C4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2C4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E79
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E79#FFFFFF#000000##FFFFFF
##2C4E791.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4e79;
/* rgb */ color: rgb(44, 78, 121);
/* oklch */ color: oklch(41.9% 0.083 255.1);
Tailwind
colors: {
  custom: {
    50: '#6d7fa0',
    500: '#2c4e79',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e79;
$custom-light: #6d7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e79",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 213.506,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41944,
    "c": 0.08251,
    "h": 255.1
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#2C4E79
secondary
#AA8557
accent
#9C51D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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