#2C5380#2C5380

#2C5380 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.6% C 0.087 H 253.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2C5380
RGBrgb(44, 83, 128)
HSLhsl(212, 49%, 34%)
HSVhsv(212, 66%, 50%)
CMYKcmyk(65.6%, 35.2%, 0%, 49.8%)
CIE-LABlab(34.56, 1.44, -29.46)
CIE-LCHlch(34.56, 29.50, 272.80°)
OKLaboklab(43.58% -0.025 -0.0834)
OKLCHoklch(43.58% 0.087 253.3)
XYZxyz(8.0268, 8.2797, 21.5930)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5380 #80592C
analogous
#2C7D80 #2C5380 #2F2C80
triadic
#2C5380 #802C53 #53802C
tetradic
#2C5380 #802C7D #80592C #2C802F
square
#2C5380 #802C7D #80592C #2C802F
split-complementary
#2C5380 #802F2C #7D802C
monochromatic
#0D1825 #1C3552 #2C5380 #3C71AE #5F8FC8

Accessibility & contrast

On white

7.91
#2C5380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C5380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5380
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5380#FFFFFF#000000##FFFFFF
##2C53801.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405682
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5380;
/* rgb */ color: rgb(44, 83, 128);
/* oklch */ color: oklch(43.6% 0.087 253.3);
Tailwind
colors: {
  custom: {
    50: '#6e83a5',
    500: '#2c5380',
    950: '#000000',
  },
}
SCSS
$custom: #2c5380;
$custom-light: #6e83a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5380",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 128
  },
  "hsl": {
    "h": 212.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43582,
    "c": 0.08707,
    "h": 253.3
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#2C5380
secondary
#AE875A
accent
#994FD8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5380

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

Preview Lab → · Contrast checker → · Palette generator →

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