#2C4972#2C4972

#2C4972 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.078 H 257.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4972
RGBrgb(44, 73, 114)
HSLhsl(215, 44%, 31%)
HSVhsv(215, 61%, 45%)
CMYKcmyk(61.4%, 36%, 0%, 55.3%)
CIE-LABlab(30.68, 2.83, -26.87)
CIE-LCHlch(30.68, 27.01, 276.02°)
OKLaboklab(40.3% -0.0173 -0.076)
OKLCHoklch(40.3% 0.078 257.2)
XYZxyz(6.4574, 6.5149, 16.8335)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4972 #72552C
analogous
#2C6C72 #2C4972 #322C72
triadic
#2C4972 #722C49 #49722C
tetradic
#2C4972 #722C6C #72552C #2C7232
square
#2C4972 #722C6C #72552C #2C7232
split-complementary
#2C4972 #72322C #6C722C
monochromatic
#0A101A #1B2D46 #2C4972 #3D659E #5983BF

Accessibility & contrast

On white

9.12
#2C4972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4972
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4972#FFFFFF#000000##FFFFFF
##2C49721.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4972;
/* rgb */ color: rgb(44, 73, 114);
/* oklch */ color: oklch(40.3% 0.078 257.2);
Tailwind
colors: {
  custom: {
    50: '#6c7b9b',
    500: '#2c4972',
    950: '#000000',
  },
}
SCSS
$custom: #2c4972;
$custom-light: #6c7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4972",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 215.143,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40301,
    "c": 0.0779,
    "h": 257.2
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#2C4972
secondary
#A48456
accent
#9F54D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4972

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

Preview Lab → · Contrast checker → · Palette generator →

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