#2C476E#2C476E

#2C476E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.6% C 0.074 H 257.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2C476E
RGBrgb(44, 71, 110)
HSLhsl(215, 43%, 30%)
HSVhsv(215, 60%, 43%)
CMYKcmyk(60%, 35.5%, 0%, 56.9%)
CIE-LABlab(29.83, 2.70, -25.67)
CIE-LCHlch(29.83, 25.82, 276.00°)
OKLaboklab(39.57% -0.016 -0.0725)
OKLCHoklch(39.57% 0.074 257.6)
XYZxyz(6.1054, 6.1672, 15.6175)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C476E #6E532C
analogous
#2C686E #2C476E #322C6E
triadic
#2C476E #6E2C47 #476E2C
tetradic
#2C476E #6E2C68 #6E532C #2C6E32
square
#2C476E #6E2C68 #6E532C #2C6E32
split-complementary
#2C476E #6E322C #686E2C
monochromatic
#090F17 #1B2B42 #2C476E #3D639A #5881BC

Accessibility & contrast

On white

9.40
#2C476E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C476E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C476E#FFFFFF#000000##FFFFFF
##2C476E1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c476e;
/* rgb */ color: rgb(44, 71, 110);
/* oklch */ color: oklch(39.6% 0.074 257.6);
Tailwind
colors: {
  custom: {
    50: '#6b7998',
    500: '#2c476e',
    950: '#000000',
  },
}
SCSS
$custom: #2c476e;
$custom-light: #6b7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2c476e",
  "rgb": {
    "r": 44,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 215.455,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.07424,
    "h": 257.6
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#2C476E
secondary
#A08256
accent
#9F55D3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2C476E

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

Preview Lab → · Contrast checker → · Palette generator →

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