#2C5984#2C5984

#2C5984 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.087 H 249.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2C5984
RGBrgb(44, 89, 132)
HSLhsl(209, 50%, 35%)
HSVhsv(209, 67%, 52%)
CMYKcmyk(66.7%, 32.6%, 0%, 48.2%)
CIE-LABlab(36.64, -0.92, -28.64)
CIE-LCHlch(36.64, 28.65, 268.15°)
OKLaboklab(45.28% -0.0305 -0.0809)
OKLCHoklch(45.28% 0.087 249.3)
XYZxyz(8.7744, 9.3453, 23.1667)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5984 #84572C
analogous
#2C8483 #2C5984 #2C2D84
triadic
#2C5984 #842C59 #59842C
tetradic
#2C5984 #832C84 #84572C #2D842C
square
#2C5984 #832C84 #84572C #2D842C
split-complementary
#2C5984 #842C2D #84832C
monochromatic
#0D1B28 #1D3A56 #2C5984 #3B78B2 #6096CA

Accessibility & contrast

On white

7.32
#2C5984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C5984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5984
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5984#FFFFFF#000000##FFFFFF
##2C59841.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B86
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5984;
/* rgb */ color: rgb(44, 89, 132);
/* oklch */ color: oklch(45.3% 0.087 249.3);
Tailwind
colors: {
  custom: {
    50: '#6f87a8',
    500: '#2c5984',
    950: '#000000',
  },
}
SCSS
$custom: #2c5984;
$custom-light: #6f87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5984",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 209.318,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45284,
    "c": 0.08652,
    "h": 249.3
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#2C5984
secondary
#B0855C
accent
#924EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2C5984

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

Preview Lab → · Contrast checker → · Palette generator →

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