#2C5082#2C5082

#2C5082 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.0% C 0.093 H 257.0°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2C5082
RGBrgb(44, 80, 130)
HSLhsl(215, 49%, 34%)
HSVhsv(215, 66%, 51%)
CMYKcmyk(66.2%, 38.5%, 0%, 49%)
CIE-LABlab(33.74, 4.13, -31.99)
CIE-LCHlch(33.74, 32.25, 277.37°)
OKLaboklab(42.98% -0.021 -0.0908)
OKLCHoklch(42.98% 0.093 257)
XYZxyz(7.9352, 7.8837, 22.2183)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5082 #825E2C
analogous
#2C7B82 #2C5082 #332C82
triadic
#2C5082 #822C50 #50822C
tetradic
#2C5082 #822C7B #825E2C #2C8233
square
#2C5082 #822C7B #825E2C #2C8233
split-complementary
#2C5082 #82332C #7B822C
monochromatic
#0D1827 #1D3454 #2C5082 #3B6CB0 #5F8CC9

Accessibility & contrast

On white

8.15
#2C5082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C5082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5082
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5082#FFFFFF#000000##FFFFFF
##2C50821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5082;
/* rgb */ color: rgb(44, 80, 130);
/* oklch */ color: oklch(43.0% 0.093 257.0);
Tailwind
colors: {
  custom: {
    50: '#6e80a6',
    500: '#2c5082',
    950: '#000000',
  },
}
SCSS
$custom: #2c5082;
$custom-light: #6e80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5082",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 214.884,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.09324,
    "h": 257
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#2C5082
secondary
#AF8C5B
accent
#9F4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5082

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

Preview Lab → · Contrast checker → · Palette generator →

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