#2C4E71#2C4E71

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

Color values

HEX#2C4E71
RGBrgb(44, 78, 113)
HSLhsl(210, 44%, 31%)
HSVhsv(210, 61%, 44%)
CMYKcmyk(61.1%, 31%, 0%, 55.7%)
CIE-LABlab(32.20, -0.79, -23.84)
CIE-LCHlch(32.20, 23.85, 268.10°)
OKLaboklab(41.48% -0.0237 -0.0671)
OKLCHoklch(41.48% 0.071 250.5)
XYZxyz(6.7427, 7.1759, 16.6493)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E71 #714F2C
analogous
#2C7071 #2C4E71 #2C2C71
triadic
#2C4E71 #712C4E #4E712C
tetradic
#2C4E71 #712C70 #714F2C #2C712C
square
#2C4E71 #712C70 #714F2C #2C712C
split-complementary
#2C4E71 #712C2C #70712C
monochromatic
#0A1119 #1B3045 #2C4E71 #3D6C9D #598BBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4E71#FFFFFF#000000##FFFFFF
##2C4E711.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4e71;
/* rgb */ color: rgb(44, 78, 113);
/* oklch */ color: oklch(41.5% 0.071 250.5);
Tailwind
colors: {
  custom: {
    50: '#6b7f9a',
    500: '#2c4e71',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e71;
$custom-light: #6b7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e71",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 210.435,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4148,
    "c": 0.07118,
    "h": 250.5
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#2C4E71
secondary
#A37D56
accent
#9554D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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