#2C5386#2C5386

#2C5386 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.096 H 255.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2C5386
RGBrgb(44, 83, 134)
HSLhsl(214, 51%, 35%)
HSVhsv(214, 67%, 53%)
CMYKcmyk(67.2%, 38.1%, 0%, 47.5%)
CIE-LABlab(34.89, 3.67, -32.63)
CIE-LCHlch(34.89, 32.83, 276.41°)
OKLaboklab(43.95% -0.0233 -0.0927)
OKLCHoklch(43.95% 0.096 255.9)
XYZxyz(8.4335, 8.4424, 23.7347)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5386 #865F2C
analogous
#2C8086 #2C5386 #322C86
triadic
#2C5386 #862C53 #53862C
tetradic
#2C5386 #862C80 #865F2C #2C8632
square
#2C5386 #862C80 #865F2C #2C8632
split-complementary
#2C5386 #86322C #80862C
monochromatic
#0E1A2A #1D3658 #2C5386 #3B70B4 #618FCB

Accessibility & contrast

On white

7.81
#2C5386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C5386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5386
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5386#FFFFFF#000000##FFFFFF
##2C53861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5386;
/* rgb */ color: rgb(44, 83, 134);
/* oklch */ color: oklch(43.9% 0.096 255.9);
Tailwind
colors: {
  custom: {
    50: '#6f83a9',
    500: '#2c5386',
    950: '#000000',
  },
}
SCSS
$custom: #2c5386;
$custom-light: #6f83a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5386",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 134
  },
  "hsl": {
    "h": 214,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.09555,
    "h": 255.9
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#2C5386
secondary
#B18D5C
accent
#9D4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5386

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

Preview Lab → · Contrast checker → · Palette generator →

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