#2C5684#2C5684

#2C5684 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.089 H 252.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2C5684
RGBrgb(44, 86, 132)
HSLhsl(211, 50%, 35%)
HSVhsv(211, 67%, 52%)
CMYKcmyk(66.7%, 34.8%, 0%, 48.2%)
CIE-LABlab(35.71, 0.99, -30.11)
CIE-LCHlch(35.71, 30.13, 271.88°)
OKLaboklab(44.55% -0.0272 -0.0853)
OKLCHoklch(44.55% 0.089 252.3)
XYZxyz(8.5298, 8.8562, 23.0852)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5684 #845A2C
analogous
#2C8284 #2C5684 #2E2C84
triadic
#2C5684 #842C56 #56842C
tetradic
#2C5684 #842C82 #845A2C #2C842E
square
#2C5684 #842C82 #845A2C #2C842E
split-complementary
#2C5684 #842E2C #82842C
monochromatic
#0D1A28 #1D3856 #2C5684 #3B74B2 #6093CA

Accessibility & contrast

On white

7.58
#2C5684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C5684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5684
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5684#FFFFFF#000000##FFFFFF
##2C56841.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425986
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5684;
/* rgb */ color: rgb(44, 86, 132);
/* oklch */ color: oklch(44.5% 0.089 252.3);
Tailwind
colors: {
  custom: {
    50: '#6f85a8',
    500: '#2c5684',
    950: '#000000',
  },
}
SCSS
$custom: #2c5684;
$custom-light: #6f85a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5684",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 211.364,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4455,
    "c": 0.08949,
    "h": 252.3
  },
  "luminance": 0.08857
}

Semantic roles & 50–950 ramp

primary
#2C5684
secondary
#B0885C
accent
#974EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2C5684

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

Preview Lab → · Contrast checker → · Palette generator →

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