#2C4F72#2C4F72

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

Color values

HEX#2C4F72
RGBrgb(44, 79, 114)
HSLhsl(210, 44%, 31%)
HSVhsv(210, 61%, 45%)
CMYKcmyk(61.4%, 30.7%, 0%, 55.3%)
CIE-LABlab(32.57, -1.08, -23.89)
CIE-LCHlch(32.57, 23.91, 267.42°)
OKLaboklab(41.79% -0.0246 -0.0672)
OKLCHoklch(41.79% 0.072 249.9)
XYZxyz(6.8709, 7.3417, 16.9713)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F72 #724F2C
analogous
#2C7272 #2C4F72 #2C2C72
triadic
#2C4F72 #722C4F #4F722C
tetradic
#2C4F72 #722C72 #724F2C #2C722C
square
#2C4F72 #722C72 #724F2C #2C722C
split-complementary
#2C4F72 #722C2C #72722C
monochromatic
#0A121A #1B3046 #2C4F72 #3D6E9E #598CBF

Accessibility & contrast

On white

8.51
#2C4F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4F72
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F72#FFFFFF#000000##FFFFFF
##2C4F721.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#374A71
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4f72;
/* rgb */ color: rgb(44, 79, 114);
/* oklch */ color: oklch(41.8% 0.072 249.9);
Tailwind
colors: {
  custom: {
    50: '#6c809a',
    500: '#2c4f72',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f72;
$custom-light: #6c809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f72",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 210,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.07161,
    "h": 249.9
  },
  "luminance": 0.07342
}

Semantic roles & 50–950 ramp

primary
#2C4F72
secondary
#A47D56
accent
#9454D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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