#2C4E80#2C4E80

#2C4E80 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.093 H 258.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4E80
RGBrgb(44, 78, 128)
HSLhsl(216, 49%, 34%)
HSVhsv(216, 66%, 50%)
CMYKcmyk(65.6%, 39.1%, 0%, 49.8%)
CIE-LABlab(33.01, 4.70, -31.91)
CIE-LCHlch(33.01, 32.25, 278.39°)
OKLaboklab(42.37% -0.0193 -0.0906)
OKLCHoklch(42.37% 0.093 258)
XYZxyz(7.6580, 7.5420, 21.4701)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E80 #805E2C
analogous
#2C7880 #2C4E80 #342C80
triadic
#2C4E80 #802C4E #4E802C
tetradic
#2C4E80 #802C78 #805E2C #2C8034
square
#2C4E80 #802C78 #805E2C #2C8034
split-complementary
#2C4E80 #80342C #78802C
monochromatic
#0D1625 #1C3252 #2C4E80 #3C6AAE #5F89C8

Accessibility & contrast

On white

8.37
#2C4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E80
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E80#FFFFFF#000000##FFFFFF
##2C4E801.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4e80;
/* rgb */ color: rgb(44, 78, 128);
/* oklch */ color: oklch(42.4% 0.093 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fa5',
    500: '#2c4e80',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e80;
$custom-light: #6e7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e80",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 215.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.09266,
    "h": 258
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#2C4E80
secondary
#AE8C5A
accent
#A14FD8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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