#2C5478#2C5478

#2C5478 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.075 H 247.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5478
RGBrgb(44, 84, 120)
HSLhsl(208, 46%, 32%)
HSVhsv(208, 63%, 47%)
CMYKcmyk(63.3%, 30%, 0%, 52.9%)
CIE-LABlab(34.46, -2.11, -24.67)
CIE-LCHlch(34.46, 24.76, 265.11°)
OKLaboklab(43.37% -0.0286 -0.0695)
OKLCHoklch(43.37% 0.075 247.6)
XYZxyz(7.5980, 8.2315, 18.9541)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5478 #78502C
analogous
#2C7876 #2C5478 #2C2E78
triadic
#2C5478 #782C54 #54782C
tetradic
#2C5478 #762C78 #78502C #2E782C
square
#2C5478 #762C78 #78502C #2E782C
split-complementary
#2C5478 #782C2E #78762C
monochromatic
#0B151E #1C354B #2C5478 #3C73A5 #5B92C3

Accessibility & contrast

On white

7.94
#2C5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5478
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5478#FFFFFF#000000##FFFFFF
##2C54781.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45557A
Deuteranopia (green-blind)
#3A4E77
Tritanopia (blue-blind)
#005D61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5478;
/* rgb */ color: rgb(44, 84, 120);
/* oklch */ color: oklch(43.4% 0.075 247.6);
Tailwind
colors: {
  custom: {
    50: '#6d839f',
    500: '#2c5478',
    950: '#000000',
  },
}
SCSS
$custom: #2c5478;
$custom-light: #6d839f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5478",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 208.421,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4337,
    "c": 0.07515,
    "h": 247.6
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#2C5478
secondary
#A97E57
accent
#9052D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2C5478

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

Preview Lab → · Contrast checker → · Palette generator →

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