#2C4873#2C4873

#2C4873 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.081 H 258.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2C4873
RGBrgb(44, 72, 115)
HSLhsl(216, 45%, 31%)
HSVhsv(216, 62%, 45%)
CMYKcmyk(61.7%, 37.4%, 0%, 54.9%)
CIE-LABlab(30.42, 3.86, -27.90)
CIE-LCHlch(30.42, 28.17, 277.88°)
OKLaboklab(40.12% -0.0158 -0.079)
OKLCHoklch(40.12% 0.081 258.7)
XYZxyz(6.4495, 6.4075, 17.1132)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4873 #73572C
analogous
#2C6B73 #2C4873 #332C73
triadic
#2C4873 #732C48 #48732C
tetradic
#2C4873 #732C6B #73572C #2C7333
square
#2C4873 #732C6B #73572C #2C7333
split-complementary
#2C4873 #73332C #6B732C
monochromatic
#0A111A #1B2C47 #2C4873 #3D649F #5A82C0

Accessibility & contrast

On white

9.20
#2C4873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C4873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4873
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4873#FFFFFF#000000##FFFFFF
##2C48731.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4873;
/* rgb */ color: rgb(44, 72, 115);
/* oklch */ color: oklch(40.1% 0.081 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7a9b',
    500: '#2c4873',
    950: '#000000',
  },
}
SCSS
$custom: #2c4873;
$custom-light: #6c7a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4873",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 216.338,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.08055,
    "h": 258.7
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#2C4873
secondary
#A58656
accent
#A253D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4873

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

Preview Lab → · Contrast checker → · Palette generator →

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