#2C4F80#2C4F80

#2C4F80 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.6% C 0.091 H 257.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2C4F80
RGBrgb(44, 79, 128)
HSLhsl(215, 49%, 34%)
HSVhsv(215, 66%, 50%)
CMYKcmyk(65.6%, 38.3%, 0%, 49.8%)
CIE-LABlab(33.32, 4.05, -31.42)
CIE-LCHlch(33.32, 31.68, 277.34°)
OKLaboklab(42.61% -0.0204 -0.0892)
OKLCHoklch(42.61% 0.092 257.1)
XYZxyz(7.7296, 7.6852, 21.4939)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F80 #805D2C
analogous
#2C7980 #2C4F80 #332C80
triadic
#2C4F80 #802C4F #4F802C
tetradic
#2C4F80 #802C79 #805D2C #2C8033
square
#2C4F80 #802C79 #805D2C #2C8033
split-complementary
#2C4F80 #80332C #79802C
monochromatic
#0D1725 #1C3352 #2C4F80 #3C6BAE #5F8AC8

Accessibility & contrast

On white

8.28
#2C4F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C4F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F80
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F80#FFFFFF#000000##FFFFFF
##2C4F801.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4f80;
/* rgb */ color: rgb(44, 79, 128);
/* oklch */ color: oklch(42.6% 0.091 257.1);
Tailwind
colors: {
  custom: {
    50: '#6e80a5',
    500: '#2c4f80',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f80;
$custom-light: #6e80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f80",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 128
  },
  "hsl": {
    "h": 215,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.0915,
    "h": 257.1
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#2C4F80
secondary
#AE8B5A
accent
#9F4FD8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2C4F80

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

Preview Lab → · Contrast checker → · Palette generator →

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