#2C5382#2C5382

#2C5382 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.090 H 254.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2C5382
RGBrgb(44, 83, 130)
HSLhsl(213, 49%, 34%)
HSVhsv(213, 66%, 51%)
CMYKcmyk(66.2%, 36.2%, 0%, 49%)
CIE-LABlab(34.67, 2.18, -30.52)
CIE-LCHlch(34.67, 30.60, 274.09°)
OKLaboklab(43.7% -0.0244 -0.0865)
OKLCHoklch(43.7% 0.09 254.3)
XYZxyz(8.1598, 8.3329, 22.2932)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5382 #825B2C
analogous
#2C7E82 #2C5382 #302C82
triadic
#2C5382 #822C53 #53822C
tetradic
#2C5382 #822C7E #825B2C #2C8230
square
#2C5382 #822C7E #825B2C #2C8230
split-complementary
#2C5382 #82302C #7E822C
monochromatic
#0D1927 #1D3654 #2C5382 #3B70B0 #5F8FC9

Accessibility & contrast

On white

7.87
#2C5382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2C5382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5382
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5382#FFFFFF#000000##FFFFFF
##2C53821.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5382;
/* rgb */ color: rgb(44, 83, 130);
/* oklch */ color: oklch(43.7% 0.090 254.3);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2c5382',
    950: '#000000',
  },
}
SCSS
$custom: #2c5382;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5382",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 212.791,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.08988,
    "h": 254.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#2C5382
secondary
#AF895B
accent
#9A4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5382

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

Preview Lab → · Contrast checker → · Palette generator →

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