#2C476D#2C476D

#2C476D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.073 H 257.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2C476D
RGBrgb(44, 71, 109)
HSLhsl(215, 42%, 30%)
HSVhsv(215, 60%, 43%)
CMYKcmyk(59.6%, 34.9%, 0%, 57.3%)
CIE-LABlab(29.78, 2.34, -25.13)
CIE-LCHlch(29.78, 25.23, 275.32°)
OKLaboklab(39.51% -0.0163 -0.0709)
OKLCHoklch(39.51% 0.073 257.1)
XYZxyz(6.0513, 6.1456, 15.3324)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C476D #6D522C
analogous
#2C686D #2C476D #312C6D
triadic
#2C476D #6D2C47 #476D2C
tetradic
#2C476D #6D2C68 #6D522C #2C6D31
square
#2C476D #6D2C68 #6D522C #2C6D31
split-complementary
#2C476D #6D312C #686D2C
monochromatic
#090E16 #1A2B41 #2C476D #3E6399 #5881BC

Accessibility & contrast

On white

9.42
#2C476D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C476D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C476D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C476D#FFFFFF#000000##FFFFFF
##2C476D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A6F
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#005055
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c476d;
/* rgb */ color: rgb(44, 71, 109);
/* oklch */ color: oklch(39.5% 0.073 257.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a97',
    500: '#2c476d',
    950: '#000000',
  },
}
SCSS
$custom: #2c476d;
$custom-light: #6b7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2c476d",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 215.077,
    "s": 42.484,
    "l": 30
  },
  "oklch": {
    "l": 0.39511,
    "c": 0.07275,
    "h": 257.1
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#2C476D
secondary
#9F8156
accent
#9E56D2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2C476D

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

Preview Lab → · Contrast checker → · Palette generator →

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