#2C4E82#2C4E82

#2C4E82 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.096 H 258.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4E82
RGBrgb(44, 78, 130)
HSLhsl(216, 49%, 34%)
HSVhsv(216, 66%, 51%)
CMYKcmyk(66.2%, 40%, 0%, 49%)
CIE-LABlab(33.13, 5.45, -32.96)
CIE-LCHlch(33.13, 33.41, 279.39°)
OKLaboklab(42.5% -0.0188 -0.0937)
OKLCHoklch(42.5% 0.096 258.7)
XYZxyz(7.7909, 7.5952, 22.1702)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E82 #82602C
analogous
#2C7982 #2C4E82 #352C82
triadic
#2C4E82 #822C4E #4E822C
tetradic
#2C4E82 #822C79 #82602C #2C8235
square
#2C4E82 #822C79 #82602C #2C8235
split-complementary
#2C4E82 #82352C #79822C
monochromatic
#0D1727 #1D3354 #2C4E82 #3B69B0 #5F89C9

Accessibility & contrast

On white

8.34
#2C4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2C4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E82
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E82#FFFFFF#000000##FFFFFF
##2C4E821.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4e82;
/* rgb */ color: rgb(44, 78, 130);
/* oklch */ color: oklch(42.5% 0.096 258.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fa6',
    500: '#2c4e82',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e82;
$custom-light: #6e7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e82",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 216.279,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.09558,
    "h": 258.7
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#2C4E82
secondary
#AF8E5B
accent
#A24FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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