#2C5084#2C5084

#2C5084 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.096 H 257.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2C5084
RGBrgb(44, 80, 132)
HSLhsl(215, 50%, 35%)
HSVhsv(215, 67%, 52%)
CMYKcmyk(66.7%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.85, 4.88, -33.04)
CIE-LCHlch(33.85, 33.40, 278.40°)
OKLaboklab(43.1% -0.0205 -0.0939)
OKLCHoklch(43.1% 0.096 257.7)
XYZxyz(8.0707, 7.9380, 22.9322)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5084 #84602C
analogous
#2C7C84 #2C5084 #342C84
triadic
#2C5084 #842C50 #50842C
tetradic
#2C5084 #842C7C #84602C #2C8434
square
#2C5084 #842C7C #84602C #2C8434
split-complementary
#2C5084 #84342C #7C842C
monochromatic
#0D1828 #1D3456 #2C5084 #3B6CB2 #608CCA

Accessibility & contrast

On white

8.12
#2C5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5084
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5084#FFFFFF#000000##FFFFFF
##2C50841.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5084;
/* rgb */ color: rgb(44, 80, 132);
/* oklch */ color: oklch(43.1% 0.096 257.7);
Tailwind
colors: {
  custom: {
    50: '#6f80a8',
    500: '#2c5084',
    950: '#000000',
  },
}
SCSS
$custom: #2c5084;
$custom-light: #6f80a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5084",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 215.455,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.09613,
    "h": 257.7
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#2C5084
secondary
#B08E5C
accent
#A14EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C5084

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

Preview Lab → · Contrast checker → · Palette generator →

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