#2C5486#2C5486

#2C5486 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.094 H 255.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2C5486
RGBrgb(44, 84, 134)
HSLhsl(213, 51%, 35%)
HSVhsv(213, 67%, 53%)
CMYKcmyk(67.2%, 37.3%, 0%, 47.5%)
CIE-LABlab(35.20, 3.02, -32.14)
CIE-LCHlch(35.20, 32.28, 275.36°)
OKLaboklab(44.19% -0.0244 -0.0912)
OKLCHoklch(44.19% 0.094 255)
XYZxyz(8.5105, 8.5965, 23.7604)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5486 #865E2C
analogous
#2C8186 #2C5486 #312C86
triadic
#2C5486 #862C54 #54862C
tetradic
#2C5486 #862C81 #865E2C #2C8631
square
#2C5486 #862C81 #865E2C #2C8631
split-complementary
#2C5486 #86312C #81862C
monochromatic
#0E1A2A #1D3758 #2C5486 #3B71B4 #6190CB

Accessibility & contrast

On white

7.72
#2C5486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C5486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5486
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5486#FFFFFF#000000##FFFFFF
##2C54861.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5788
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#006066
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5486;
/* rgb */ color: rgb(44, 84, 134);
/* oklch */ color: oklch(44.2% 0.094 255.0);
Tailwind
colors: {
  custom: {
    50: '#6f83a9',
    500: '#2c5486',
    950: '#000000',
  },
}
SCSS
$custom: #2c5486;
$custom-light: #6f83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5486",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 213.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.09443,
    "h": 255
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#2C5486
secondary
#B18C5C
accent
#9C4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5486

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

Preview Lab → · Contrast checker → · Palette generator →

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