#2C5381#2C5381

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

Color values

HEX#2C5381
RGBrgb(44, 83, 129)
HSLhsl(212, 49%, 34%)
HSVhsv(212, 66%, 51%)
CMYKcmyk(65.9%, 35.7%, 0%, 49.4%)
CIE-LABlab(34.61, 1.81, -29.99)
CIE-LCHlch(34.61, 30.05, 273.45°)
OKLaboklab(43.64% -0.0247 -0.085)
OKLCHoklch(43.64% 0.088 253.8)
XYZxyz(8.0930, 8.3062, 21.9414)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5381 #815A2C
analogous
#2C7E81 #2C5381 #302C81
triadic
#2C5381 #812C53 #53812C
tetradic
#2C5381 #812C7E #815A2C #2C8130
square
#2C5381 #812C7E #815A2C #2C8130
split-complementary
#2C5381 #81302C #7E812C
monochromatic
#0D1826 #1C3653 #2C5381 #3C70AF #5F8FC8

Accessibility & contrast

On white

7.89
#2C5381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5381
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5381#FFFFFF#000000##FFFFFF
##2C53811.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5683
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5381;
/* rgb */ color: rgb(44, 83, 129);
/* oklch */ color: oklch(43.6% 0.088 253.8);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2c5381',
    950: '#000000',
  },
}
SCSS
$custom: #2c5381;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5381",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 212.471,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43642,
    "c": 0.08847,
    "h": 253.8
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#2C5381
secondary
#AF885A
accent
#9A4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5381

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

Preview Lab → · Contrast checker → · Palette generator →

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