#2D476F#2D476F

#2D476F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.075 H 258.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D476F
RGBrgb(45, 71, 111)
HSLhsl(216, 42%, 31%)
HSVhsv(216, 59%, 44%)
CMYKcmyk(59.5%, 36%, 0%, 56.5%)
CIE-LABlab(29.94, 3.30, -26.13)
CIE-LCHlch(29.94, 26.34, 277.19°)
OKLaboklab(39.69% -0.0147 -0.0738)
OKLCHoklch(39.69% 0.075 258.7)
XYZxyz(6.2037, 6.2116, 15.9079)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D476F #6F552D
analogous
#2D686F #2D476F #342D6F
triadic
#2D476F #6F2D47 #476F2D
tetradic
#2D476F #6F2D68 #6F552D #2D6F34
square
#2D476F #6F2D68 #6F552D #2D6F34
split-complementary
#2D476F #6F342D #686F2D
monochromatic
#0A0F18 #1B2B43 #2D476F #3F639B #5A81BC

Accessibility & contrast

On white

9.36
#2D476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D476F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D476F#FFFFFF#000000##FFFFFF
##2D476F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#2E446E
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d476f;
/* rgb */ color: rgb(45, 71, 111);
/* oklch */ color: oklch(39.7% 0.075 258.7);
Tailwind
colors: {
  custom: {
    50: '#6c7998',
    500: '#2d476f',
    950: '#000000',
  },
}
SCSS
$custom: #2d476f;
$custom-light: #6c7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2d476f",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 216.364,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.07526,
    "h": 258.7
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#2D476F
secondary
#A18457
accent
#A156D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2D476F

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

Preview Lab → · Contrast checker → · Palette generator →

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