#2C4E75#2C4E75

#2C4E75 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.077 H 253.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2C4E75
RGBrgb(44, 78, 117)
HSLhsl(212, 45%, 32%)
HSVhsv(212, 62%, 46%)
CMYKcmyk(62.4%, 33.3%, 0%, 54.1%)
CIE-LABlab(32.41, 0.65, -26.02)
CIE-LCHlch(32.41, 26.03, 271.43°)
OKLaboklab(41.71% -0.0224 -0.0734)
OKLCHoklch(41.71% 0.077 253)
XYZxyz(6.9728, 7.2680, 17.8616)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E75 #75532C
analogous
#2C7375 #2C4E75 #2F2C75
triadic
#2C4E75 #752C4E #4E752C
tetradic
#2C4E75 #752C73 #75532C #2C752F
square
#2C4E75 #752C73 #75532C #2C752F
split-complementary
#2C4E75 #752F2C #73752C
monochromatic
#0B131C #1B3049 #2C4E75 #3D6CA1 #5A8AC1

Accessibility & contrast

On white

8.56
#2C4E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C4E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E75
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E75#FFFFFF#000000##FFFFFF
##2C4E751.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4e75;
/* rgb */ color: rgb(44, 78, 117);
/* oklch */ color: oklch(41.7% 0.077 253.0);
Tailwind
colors: {
  custom: {
    50: '#6c7f9d',
    500: '#2c4e75',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e75;
$custom-light: #6c7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e75",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 117
  },
  "hsl": {
    "h": 212.055,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.0768,
    "h": 253
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#2C4E75
secondary
#A78156
accent
#9853D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4E75

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

Preview Lab → · Contrast checker → · Palette generator →

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