#2C5587#2C5587

#2C5587 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.5% C 0.095 H 254.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5587
RGBrgb(44, 85, 135)
HSLhsl(213, 51%, 35%)
HSVhsv(213, 67%, 53%)
CMYKcmyk(67.4%, 37%, 0%, 47.1%)
CIE-LABlab(35.56, 2.74, -32.18)
CIE-LCHlch(35.56, 32.30, 274.87°)
OKLaboklab(44.49% -0.0252 -0.0913)
OKLCHoklch(44.49% 0.095 254.6)
XYZxyz(8.6588, 8.7809, 24.1555)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5587 #875E2C
analogous
#2C8287 #2C5587 #302C87
triadic
#2C5587 #872C55 #55872C
tetradic
#2C5587 #872C82 #875E2C #2C8730
square
#2C5587 #872C82 #875E2C #2C8730
split-complementary
#2C5587 #87302C #82872C
monochromatic
#0E1B2B #1D3859 #2C5587 #3B72B5 #6291CC

Accessibility & contrast

On white

7.62
#2C5587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C5587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5587
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5587#FFFFFF#000000##FFFFFF
##2C55871.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5889
Deuteranopia (green-blind)
#325086
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5587;
/* rgb */ color: rgb(44, 85, 135);
/* oklch */ color: oklch(44.5% 0.095 254.6);
Tailwind
colors: {
  custom: {
    50: '#6f84aa',
    500: '#2c5587',
    950: '#000000',
  },
}
SCSS
$custom: #2c5587;
$custom-light: #6f84aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5587",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 212.967,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.09475,
    "h": 254.6
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#2C5587
secondary
#B28C5D
accent
#9B4DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5587

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

Preview Lab → · Contrast checker → · Palette generator →

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