#2C5688#2C5688

#2C5688 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.8% C 0.095 H 254.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2C5688
RGBrgb(44, 86, 136)
HSLhsl(213, 51%, 35%)
HSVhsv(213, 68%, 53%)
CMYKcmyk(67.6%, 36.8%, 0%, 46.7%)
CIE-LABlab(35.92, 2.47, -32.22)
CIE-LCHlch(35.92, 32.31, 274.38°)
OKLaboklab(44.79% -0.026 -0.0914)
OKLCHoklch(44.79% 0.095 254.1)
XYZxyz(8.8088, 8.9677, 24.5545)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5688 #885E2C
analogous
#2C8488 #2C5688 #302C88
triadic
#2C5688 #882C56 #56882C
tetradic
#2C5688 #882C84 #885E2C #2C8830
square
#2C5688 #882C84 #885E2C #2C8830
split-complementary
#2C5688 #88302C #84882C
monochromatic
#0E1C2C #1D395A #2C5688 #3B73B6 #6293CC

Accessibility & contrast

On white

7.52
#2C5688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2C5688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5688
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5688#FFFFFF#000000##FFFFFF
##2C56881.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598A
Deuteranopia (green-blind)
#335187
Tritanopia (blue-blind)
#006268
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5688;
/* rgb */ color: rgb(44, 86, 136);
/* oklch */ color: oklch(44.8% 0.095 254.1);
Tailwind
colors: {
  custom: {
    50: '#6f85ab',
    500: '#2c5688',
    950: '#000000',
  },
}
SCSS
$custom: #2c5688;
$custom-light: #6f85ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5688",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 136
  },
  "hsl": {
    "h": 212.609,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.09505,
    "h": 254.1
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#2C5688
secondary
#B38C5D
accent
#9A4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2C5688

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

Preview Lab → · Contrast checker → · Palette generator →

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