#2C5887#2C5887

#2C5887 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.2% C 0.092 H 251.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5887
RGBrgb(44, 88, 135)
HSLhsl(211, 51%, 35%)
HSVhsv(211, 67%, 53%)
CMYKcmyk(67.4%, 34.8%, 0%, 47.1%)
CIE-LABlab(36.49, 0.82, -30.71)
CIE-LCHlch(36.49, 30.72, 271.52°)
OKLaboklab(45.21% -0.0285 -0.087)
OKLCHoklch(45.21% 0.092 251.9)
XYZxyz(8.9000, 9.2633, 24.2359)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5887 #875B2C
analogous
#2C8587 #2C5887 #2D2C87
triadic
#2C5887 #872C58 #58872C
tetradic
#2C5887 #872C85 #875B2C #2C872D
square
#2C5887 #872C85 #875B2C #2C872D
split-complementary
#2C5887 #872D2C #85872C
monochromatic
#0E1C2B #1D3A59 #2C5887 #3B76B5 #6295CC

Accessibility & contrast

On white

7.36
#2C5887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2C5887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5887
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5887#FFFFFF#000000##FFFFFF
##2C58871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B89
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5887;
/* rgb */ color: rgb(44, 88, 135);
/* oklch */ color: oklch(45.2% 0.092 251.9);
Tailwind
colors: {
  custom: {
    50: '#6f86aa',
    500: '#2c5887',
    950: '#000000',
  },
}
SCSS
$custom: #2c5887;
$custom-light: #6f86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5887",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 210.989,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45214,
    "c": 0.09156,
    "h": 251.9
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#2C5887
secondary
#B2895D
accent
#964DDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5887

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

Preview Lab → · Contrast checker → · Palette generator →

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