#2C5079#2C5079

#2C5079 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.080 H 252.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5079
RGBrgb(44, 80, 121)
HSLhsl(212, 47%, 32%)
HSVhsv(212, 64%, 47%)
CMYKcmyk(63.6%, 33.9%, 0%, 52.5%)
CIE-LABlab(33.25, 0.81, -27.19)
CIE-LCHlch(33.25, 27.20, 271.71°)
OKLaboklab(42.44% -0.0236 -0.0768)
OKLCHoklch(42.44% 0.08 252.9)
XYZxyz(7.3573, 7.6526, 19.1748)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5079 #79552C
analogous
#2C7779 #2C5079 #2E2C79
triadic
#2C5079 #792C50 #50792C
tetradic
#2C5079 #792C77 #79552C #2C792E
square
#2C5079 #792C77 #79552C #2C792E
split-complementary
#2C5079 #792E2C #77792C
monochromatic
#0B151F #1C324C #2C5079 #3C6EA6 #5C8CC4

Accessibility & contrast

On white

8.30
#2C5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5079
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5079#FFFFFF#000000##FFFFFF
##2C50791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5079;
/* rgb */ color: rgb(44, 80, 121);
/* oklch */ color: oklch(42.4% 0.080 252.9);
Tailwind
colors: {
  custom: {
    50: '#6d80a0',
    500: '#2c5079',
    950: '#000000',
  },
}
SCSS
$custom: #2c5079;
$custom-light: #6d80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5079",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 211.948,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.08038,
    "h": 252.9
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#2C5079
secondary
#AA8357
accent
#9851D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5079

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

Preview Lab → · Contrast checker → · Palette generator →

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