#2D476C#2D476C

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

Color values

HEX#2D476C
RGBrgb(45, 71, 108)
HSLhsl(215, 41%, 30%)
HSVhsv(215, 58%, 42%)
CMYKcmyk(58.3%, 34.3%, 0%, 57.6%)
CIE-LABlab(29.78, 2.22, -24.48)
CIE-LCHlch(29.78, 24.58, 275.17°)
OKLaboklab(39.51% -0.0156 -0.069)
OKLCHoklch(39.51% 0.071 257.3)
XYZxyz(6.0413, 6.1466, 15.0525)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D476C #6C522D
analogous
#2D666C #2D476C #332D6C
triadic
#2D476C #6C2D47 #476C2D
tetradic
#2D476C #6C2D66 #6C522D #2D6C33
square
#2D476C #6C2D66 #6C522D #2D6C33
split-complementary
#2D476C #6C332D #666C2D
monochromatic
#090E16 #1B2B41 #2D476C #3F6397 #5981BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D476C#FFFFFF#000000##FFFFFF
##2D476C1.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)
#38496E
Deuteranopia (green-blind)
#30436B
Tritanopia (blue-blind)
#044F54
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d476c;
/* rgb */ color: rgb(45, 71, 108);
/* oklch */ color: oklch(39.5% 0.071 257.3);
Tailwind
colors: {
  custom: {
    50: '#6b7a96',
    500: '#2d476c',
    950: '#000000',
  },
}
SCSS
$custom: #2d476c;
$custom-light: #6b7a96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d476c",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 215.238,
    "s": 41.176,
    "l": 30
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.07077,
    "h": 257.3
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#2D476C
secondary
#9E8157
accent
#9F57D1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2D476C

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

Preview Lab → · Contrast checker → · Palette generator →

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