#2C4974#2C4974

#2C4974 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.4% C 0.081 H 258.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2C4974
RGBrgb(44, 73, 116)
HSLhsl(216, 45%, 31%)
HSVhsv(216, 62%, 45%)
CMYKcmyk(62.1%, 37.1%, 0%, 54.5%)
CIE-LABlab(30.79, 3.56, -27.95)
CIE-LCHlch(30.79, 28.18, 277.27°)
OKLaboklab(40.42% -0.0167 -0.0791)
OKLCHoklch(40.42% 0.081 258.1)
XYZxyz(6.5725, 6.5609, 17.4396)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4974 #74572C
analogous
#2C6D74 #2C4974 #332C74
triadic
#2C4974 #742C49 #49742C
tetradic
#2C4974 #742C6D #74572C #2C7433
square
#2C4974 #742C6D #74572C #2C7433
split-complementary
#2C4974 #74332C #6D742C
monochromatic
#0A111B #1B2D48 #2C4974 #3D65A0 #5A83C0

Accessibility & contrast

On white

9.08
#2C4974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4974
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4974#FFFFFF#000000##FFFFFF
##2C49741.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#2E4573
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4974;
/* rgb */ color: rgb(44, 73, 116);
/* oklch */ color: oklch(40.4% 0.081 258.1);
Tailwind
colors: {
  custom: {
    50: '#6c7b9c',
    500: '#2c4974',
    950: '#000000',
  },
}
SCSS
$custom: #2c4974;
$custom-light: #6c7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4974",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 215.833,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.08086,
    "h": 258.1
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#2C4974
secondary
#A68656
accent
#A053D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2C4974

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

Preview Lab → · Contrast checker → · Palette generator →

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