#2C5487#2C5487

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

Color values

HEX#2C5487
RGBrgb(44, 84, 135)
HSLhsl(214, 51%, 35%)
HSVhsv(214, 67%, 53%)
CMYKcmyk(67.4%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.25, 3.39, -32.67)
CIE-LCHlch(35.25, 32.84, 275.93°)
OKLaboklab(44.25% -0.0241 -0.0928)
OKLCHoklch(44.25% 0.096 255.4)
XYZxyz(8.5806, 8.6245, 24.1295)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5487 #875F2C
analogous
#2C8287 #2C5487 #312C87
triadic
#2C5487 #872C54 #54872C
tetradic
#2C5487 #872C82 #875F2C #2C8731
square
#2C5487 #872C82 #875F2C #2C8731
split-complementary
#2C5487 #87312C #82872C
monochromatic
#0E1B2B #1D3759 #2C5487 #3B71B5 #6290CC

Accessibility & contrast

On white

7.71
#2C5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5487
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5487#FFFFFF#000000##FFFFFF
##2C54871.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#314F86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5487;
/* rgb */ color: rgb(44, 84, 135);
/* oklch */ color: oklch(44.2% 0.096 255.4);
Tailwind
colors: {
  custom: {
    50: '#6f83aa',
    500: '#2c5487',
    950: '#000000',
  },
}
SCSS
$custom: #2c5487;
$custom-light: #6f83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5487",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 213.626,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44248,
    "c": 0.09584,
    "h": 255.4
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#2C5487
secondary
#B28D5D
accent
#9C4DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5487

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

Preview Lab → · Contrast checker → · Palette generator →

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