#2C4973#2C4973

#2C4973 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.079 H 257.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2C4973
RGBrgb(44, 73, 115)
HSLhsl(215, 45%, 31%)
HSVhsv(215, 62%, 45%)
CMYKcmyk(61.7%, 36.5%, 0%, 54.9%)
CIE-LABlab(30.73, 3.20, -27.41)
CIE-LCHlch(30.73, 27.59, 276.66°)
OKLaboklab(40.36% -0.017 -0.0775)
OKLCHoklch(40.36% 0.079 257.6)
XYZxyz(6.5147, 6.5378, 17.1349)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4973 #73562C
analogous
#2C6C73 #2C4973 #322C73
triadic
#2C4973 #732C49 #49732C
tetradic
#2C4973 #732C6C #73562C #2C7332
square
#2C4973 #732C6C #73562C #2C7332
split-complementary
#2C4973 #73322C #6C732C
monochromatic
#0A111A #1B2D47 #2C4973 #3D659F #5A83C0

Accessibility & contrast

On white

9.10
#2C4973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C4973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4973
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4973#FFFFFF#000000##FFFFFF
##2C49731.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C75
Deuteranopia (green-blind)
#2E4572
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4973;
/* rgb */ color: rgb(44, 73, 115);
/* oklch */ color: oklch(40.4% 0.079 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7b9b',
    500: '#2c4973',
    950: '#000000',
  },
}
SCSS
$custom: #2c4973;
$custom-light: #6c7b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4973",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 215.493,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40361,
    "c": 0.07938,
    "h": 257.6
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#2C4973
secondary
#A58556
accent
#A053D4
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4973

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

Preview Lab → · Contrast checker → · Palette generator →

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