#2D476D#2D476D

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

Color values

HEX#2D476D
RGBrgb(45, 71, 109)
HSLhsl(216, 42%, 30%)
HSVhsv(216, 59%, 43%)
CMYKcmyk(58.7%, 34.9%, 0%, 57.3%)
CIE-LABlab(29.83, 2.58, -25.03)
CIE-LCHlch(29.83, 25.17, 275.87°)
OKLaboklab(39.57% -0.0153 -0.0706)
OKLCHoklch(39.57% 0.072 257.8)
XYZxyz(6.0948, 6.1680, 15.3344)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D476D #6D532D
analogous
#2D676D #2D476D #332D6D
triadic
#2D476D #6D2D47 #476D2D
tetradic
#2D476D #6D2D67 #6D532D #2D6D33
square
#2D476D #6D2D67 #6D532D #2D6D33
split-complementary
#2D476D #6D332D #676D2D
monochromatic
#090F16 #1B2B42 #2D476D #3F6398 #5A81BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D476D#FFFFFF#000000##FFFFFF
##2D476D1.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)
#384A6F
Deuteranopia (green-blind)
#30446C
Tritanopia (blue-blind)
#034F55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d476d;
/* rgb */ color: rgb(45, 71, 109);
/* oklch */ color: oklch(39.6% 0.072 257.8);
Tailwind
colors: {
  custom: {
    50: '#6b7a97',
    500: '#2d476d',
    950: '#000000',
  },
}
SCSS
$custom: #2d476d;
$custom-light: #6b7a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2d476d",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 109
  },
  "hsl": {
    "h": 215.625,
    "s": 41.558,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.07226,
    "h": 257.8
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#2D476D
secondary
#9F8257
accent
#9F56D1
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2D476D

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

Preview Lab → · Contrast checker → · Palette generator →

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