#2C5986#2C5986

#2C5986 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.089 H 250.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2C5986
RGBrgb(44, 89, 134)
HSLhsl(210, 51%, 35%)
HSVhsv(210, 67%, 53%)
CMYKcmyk(67.2%, 33.6%, 0%, 47.5%)
CIE-LABlab(36.74, -0.19, -29.70)
CIE-LCHlch(36.74, 29.70, 269.63°)
OKLaboklab(45.4% -0.0299 -0.084)
OKLCHoklch(45.4% 0.089 250.4)
XYZxyz(8.9126, 9.4006, 23.8944)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5986 #86592C
analogous
#2C8686 #2C5986 #2C2C86
triadic
#2C5986 #862C59 #59862C
tetradic
#2C5986 #862C86 #86592C #2C862C
square
#2C5986 #862C86 #86592C #2C862C
split-complementary
#2C5986 #862C2C #86862C
monochromatic
#0E1C2A #1D3A58 #2C5986 #3B78B4 #6196CB

Accessibility & contrast

On white

7.29
#2C5986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2C5986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5986
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5986#FFFFFF#000000##FFFFFF
##2C59861.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#395385
Tritanopia (blue-blind)
#006469
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5986;
/* rgb */ color: rgb(44, 89, 134);
/* oklch */ color: oklch(45.4% 0.089 250.4);
Tailwind
colors: {
  custom: {
    50: '#6f87a9',
    500: '#2c5986',
    950: '#000000',
  },
}
SCSS
$custom: #2c5986;
$custom-light: #6f87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5986",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 210,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.0892,
    "h": 250.4
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#2C5986
secondary
#B1875C
accent
#944EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5986

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

Preview Lab → · Contrast checker → · Palette generator →

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