#2D476E#2D476E

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

Color values

HEX#2D476E
RGBrgb(45, 71, 110)
HSLhsl(216, 42%, 30%)
HSVhsv(216, 59%, 43%)
CMYKcmyk(59.1%, 35.5%, 0%, 56.9%)
CIE-LABlab(29.89, 2.93, -25.58)
CIE-LCHlch(29.89, 25.75, 276.54°)
OKLaboklab(39.63% -0.015 -0.0722)
OKLCHoklch(39.63% 0.074 258.3)
XYZxyz(6.1489, 6.1897, 15.6195)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D476E #6E542D
analogous
#2D676E #2D476E #342D6E
triadic
#2D476E #6E2D47 #476E2D
tetradic
#2D476E #6E2D67 #6E542D #2D6E34
square
#2D476E #6E2D67 #6E542D #2D6E34
split-complementary
#2D476E #6E342D #676E2D
monochromatic
#090F17 #1B2B43 #2D476E #3F6399 #5A81BB

Accessibility & contrast

On white

9.38
#2D476E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D476E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D476E#FFFFFF#000000##FFFFFF
##2D476E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d476e;
/* rgb */ color: rgb(45, 71, 110);
/* oklch */ color: oklch(39.6% 0.074 258.3);
Tailwind
colors: {
  custom: {
    50: '#6b7998',
    500: '#2d476e',
    950: '#000000',
  },
}
SCSS
$custom: #2d476e;
$custom-light: #6b7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2d476e",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 110
  },
  "hsl": {
    "h": 216,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.07376,
    "h": 258.3
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#2D476E
secondary
#A08357
accent
#A056D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2D476E

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

Preview Lab → · Contrast checker → · Palette generator →

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