#2C4971#2C4971

#2C4971 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.076 H 256.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C4971
RGBrgb(44, 73, 113)
HSLhsl(215, 44%, 31%)
HSVhsv(215, 61%, 44%)
CMYKcmyk(61.1%, 35.4%, 0%, 55.7%)
CIE-LABlab(30.62, 2.47, -26.32)
CIE-LCHlch(30.62, 26.44, 275.35°)
OKLaboklab(40.24% -0.0176 -0.0744)
OKLCHoklch(40.24% 0.076 256.7)
XYZxyz(6.4008, 6.4923, 16.5354)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4971 #71542C
analogous
#2C6B71 #2C4971 #312C71
triadic
#2C4971 #712C49 #49712C
tetradic
#2C4971 #712C6B #71542C #2C7131
square
#2C4971 #712C6B #71542C #2C7131
split-complementary
#2C4971 #71312C #6B712C
monochromatic
#0A1019 #1B2D45 #2C4971 #3D659D #5984BE

Accessibility & contrast

On white

9.14
#2C4971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4971
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4971#FFFFFF#000000##FFFFFF
##2C49711.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4971;
/* rgb */ color: rgb(44, 73, 113);
/* oklch */ color: oklch(40.2% 0.076 256.7);
Tailwind
colors: {
  custom: {
    50: '#6b7b9a',
    500: '#2c4971',
    950: '#000000',
  },
}
SCSS
$custom: #2c4971;
$custom-light: #6b7b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4971",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 113
  },
  "hsl": {
    "h": 214.783,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40241,
    "c": 0.07641,
    "h": 256.7
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#2C4971
secondary
#A38356
accent
#9E54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4971

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

Preview Lab → · Contrast checker → · Palette generator →

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