#2C4F74#2C4F74

#2C4F74 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.074 H 251.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2C4F74
RGBrgb(44, 79, 116)
HSLhsl(211, 45%, 31%)
HSVhsv(211, 62%, 45%)
CMYKcmyk(62.1%, 31.9%, 0%, 54.5%)
CIE-LABlab(32.67, -0.36, -24.98)
CIE-LCHlch(32.67, 24.98, 269.18°)
OKLaboklab(41.9% -0.0239 -0.0704)
OKLCHoklch(41.9% 0.074 251.2)
XYZxyz(6.9859, 7.3878, 17.5774)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F74 #74512C
analogous
#2C7374 #2C4F74 #2D2C74
triadic
#2C4F74 #742C4F #4F742C
tetradic
#2C4F74 #742C73 #74512C #2C742D
square
#2C4F74 #742C73 #74512C #2C742D
split-complementary
#2C4F74 #742D2C #73742C
monochromatic
#0A131B #1B3148 #2C4F74 #3D6DA0 #5A8CC0

Accessibility & contrast

On white

8.48
#2C4F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C4F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F74
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F74#FFFFFF#000000##FFFFFF
##2C4F741.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5176
Deuteranopia (green-blind)
#364A73
Tritanopia (blue-blind)
#00585C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4f74;
/* rgb */ color: rgb(44, 79, 116);
/* oklch */ color: oklch(41.9% 0.074 251.2);
Tailwind
colors: {
  custom: {
    50: '#6c809c',
    500: '#2c4f74',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f74;
$custom-light: #6c809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f74",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 116
  },
  "hsl": {
    "h": 210.833,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.07438,
    "h": 251.2
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#2C4F74
secondary
#A67F56
accent
#9653D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C4F74

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

Preview Lab → · Contrast checker → · Palette generator →

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