#2C5686#2C5686

#2C5686 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.092 H 253.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2C5686
RGBrgb(44, 86, 134)
HSLhsl(212, 51%, 35%)
HSVhsv(212, 67%, 53%)
CMYKcmyk(67.2%, 35.8%, 0%, 47.5%)
CIE-LABlab(35.81, 1.73, -31.17)
CIE-LCHlch(35.81, 31.21, 273.17°)
OKLaboklab(44.67% -0.0266 -0.0883)
OKLCHoklch(44.67% 0.092 253.3)
XYZxyz(8.6680, 8.9114, 23.8129)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5686 #865C2C
analogous
#2C8386 #2C5686 #2F2C86
triadic
#2C5686 #862C56 #56862C
tetradic
#2C5686 #862C83 #865C2C #2C862F
square
#2C5686 #862C83 #865C2C #2C862F
split-complementary
#2C5686 #862F2C #83862C
monochromatic
#0E1B2A #1D3858 #2C5686 #3B74B4 #6193CB

Accessibility & contrast

On white

7.55
#2C5686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C5686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5686
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5686#FFFFFF#000000##FFFFFF
##2C56861.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5686;
/* rgb */ color: rgb(44, 86, 134);
/* oklch */ color: oklch(44.7% 0.092 253.3);
Tailwind
colors: {
  custom: {
    50: '#6f85a9',
    500: '#2c5686',
    950: '#000000',
  },
}
SCSS
$custom: #2c5686;
$custom-light: #6f85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5686",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 212,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.09226,
    "h": 253.3
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#2C5686
secondary
#B18A5C
accent
#994EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5686

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

Preview Lab → · Contrast checker → · Palette generator →

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