#2C5178#2C5178

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

Color values

HEX#2C5178
RGBrgb(44, 81, 120)
HSLhsl(211, 46%, 32%)
HSVhsv(211, 63%, 47%)
CMYKcmyk(63.3%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.51, -0.20, -26.16)
CIE-LCHlch(33.51, 26.16, 269.57°)
OKLaboklab(42.62% -0.0251 -0.0738)
OKLCHoklch(42.62% 0.078 251.2)
XYZxyz(7.3701, 7.7757, 18.8781)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5178 #78532C
analogous
#2C7778 #2C5178 #2D2C78
triadic
#2C5178 #782C51 #51782C
tetradic
#2C5178 #782C77 #78532C #2C782D
square
#2C5178 #782C77 #78532C #2C782D
split-complementary
#2C5178 #782D2C #77782C
monochromatic
#0B151E #1C334B #2C5178 #3C6FA5 #5B8EC3

Accessibility & contrast

On white

8.22
#2C5178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C5178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5178
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5178#FFFFFF#000000##FFFFFF
##2C51781.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537A
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5178;
/* rgb */ color: rgb(44, 81, 120);
/* oklch */ color: oklch(42.6% 0.078 251.2);
Tailwind
colors: {
  custom: {
    50: '#6d819f',
    500: '#2c5178',
    950: '#000000',
  },
}
SCSS
$custom: #2c5178;
$custom-light: #6d819f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5178",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 210.789,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.07796,
    "h": 251.2
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#2C5178
secondary
#A98157
accent
#9652D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5178

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

Preview Lab → · Contrast checker → · Palette generator →

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