#2C5481#2C5481

#2C5481 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.087 H 252.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C5481
RGBrgb(44, 84, 129)
HSLhsl(212, 49%, 34%)
HSVhsv(212, 66%, 51%)
CMYKcmyk(65.9%, 34.9%, 0%, 49.4%)
CIE-LABlab(34.92, 1.17, -29.50)
CIE-LCHlch(34.92, 29.52, 272.26°)
OKLaboklab(43.89% -0.0258 -0.0835)
OKLCHoklch(43.89% 0.087 252.8)
XYZxyz(8.1700, 8.4603, 21.9671)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5481 #81592C
analogous
#2C7F81 #2C5481 #2F2C81
triadic
#2C5481 #812C54 #54812C
tetradic
#2C5481 #812C7F #81592C #2C812F
square
#2C5481 #812C7F #81592C #2C812F
split-complementary
#2C5481 #812F2C #7F812C
monochromatic
#0D1926 #1C3653 #2C5481 #3C72AF #5F91C8

Accessibility & contrast

On white

7.80
#2C5481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C5481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5481
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5481#FFFFFF#000000##FFFFFF
##2C54811.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415783
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5481;
/* rgb */ color: rgb(44, 84, 129);
/* oklch */ color: oklch(43.9% 0.087 252.8);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2c5481',
    950: '#000000',
  },
}
SCSS
$custom: #2c5481;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5481",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 211.765,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.08741,
    "h": 252.8
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#2C5481
secondary
#AF875A
accent
#984FD9
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5481

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

Preview Lab → · Contrast checker → · Palette generator →

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