#2C4D77#2C4D77

#2C4D77 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.081 H 255.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2C4D77
RGBrgb(44, 77, 119)
HSLhsl(214, 46%, 32%)
HSVhsv(214, 63%, 47%)
CMYKcmyk(63%, 35.3%, 0%, 53.3%)
CIE-LABlab(32.20, 2.03, -27.60)
CIE-LCHlch(32.20, 27.67, 274.21°)
OKLaboklab(41.58% -0.0206 -0.078)
OKLCHoklch(41.58% 0.081 255.2)
XYZxyz(7.0212, 7.1745, 18.4640)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D77 #77562C
analogous
#2C7377 #2C4D77 #312C77
triadic
#2C4D77 #772C4D #4D772C
tetradic
#2C4D77 #772C73 #77562C #2C7731
square
#2C4D77 #772C73 #77562C #2C7731
split-complementary
#2C4D77 #77312C #73772C
monochromatic
#0B131E #1B304A #2C4D77 #3D6AA4 #5B89C2

Accessibility & contrast

On white

8.62
#2C4D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C4D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D77
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D77#FFFFFF#000000##FFFFFF
##2C4D771.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4d77;
/* rgb */ color: rgb(44, 77, 119);
/* oklch */ color: oklch(41.6% 0.081 255.2);
Tailwind
colors: {
  custom: {
    50: '#6c7e9e',
    500: '#2c4d77',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d77;
$custom-light: #6c7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d77",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 119
  },
  "hsl": {
    "h": 213.6,
    "s": 46.012,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.08073,
    "h": 255.2
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#2C4D77
secondary
#A88456
accent
#9C52D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4D77

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

Preview Lab → · Contrast checker → · Palette generator →

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