#2C4471#2C4471

#2C4471 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.0% C 0.082 H 262.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2C4471
RGBrgb(44, 68, 113)
HSLhsl(219, 44%, 31%)
HSVhsv(219, 61%, 44%)
CMYKcmyk(61.1%, 39.8%, 0%, 55.7%)
CIE-LABlab(29.06, 5.80, -28.79)
CIE-LCHlch(29.06, 29.37, 281.39°)
OKLaboklab(39.03% -0.0114 -0.0816)
OKLCHoklch(39.03% 0.082 262)
XYZxyz(6.0854, 5.8615, 16.4303)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4471 #71592C
analogous
#2C6671 #2C4471 #362C71
triadic
#2C4471 #712C44 #44712C
tetradic
#2C4471 #712C66 #71592C #2C7136
square
#2C4471 #712C66 #71592C #2C7136
split-complementary
#2C4471 #71362C #66712C
monochromatic
#0A0F19 #1B2945 #2C4471 #3D5F9D #597CBE

Accessibility & contrast

On white

9.67
#2C4471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C4471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4471
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4471#FFFFFF#000000##FFFFFF
##2C44711.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#284270
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4471;
/* rgb */ color: rgb(44, 68, 113);
/* oklch */ color: oklch(39.0% 0.082 262.0);
Tailwind
colors: {
  custom: {
    50: '#6b779a',
    500: '#2c4471',
    950: '#000000',
  },
}
SCSS
$custom: #2c4471;
$custom-light: #6b779a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4471",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 219.13,
    "s": 43.949,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39026,
    "c": 0.08242,
    "h": 262
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#2C4471
secondary
#A38856
accent
#A754D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2C4471

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

Preview Lab → · Contrast checker → · Palette generator →

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