#2D477E#2D477E

#2D477E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.098 H 263.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2D477E
RGBrgb(45, 71, 126)
HSLhsl(221, 47%, 34%)
HSVhsv(221, 64%, 49%)
CMYKcmyk(64.3%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.81, 8.82, -34.17)
CIE-LCHlch(30.81, 35.29, 284.48°)
OKLaboklab(40.64% -0.011 -0.0973)
OKLCHoklch(40.64% 0.098 263.6)
XYZxyz(7.1000, 6.5701, 20.6286)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D477E #7E642D
analogous
#2D6F7E #2D477E #3B2D7E
triadic
#2D477E #7E2D47 #477E2D
tetradic
#2D477E #7E2D6F #7E642D #2D7E3B
square
#2D477E #7E2D6F #7E642D #2D7E3B
split-complementary
#2D477E #7E3B2D #6F7E2D
monochromatic
#0D1424 #1D2E51 #2D477E #3D60AB #5F80C6

Accessibility & contrast

On white

9.07
#2D477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2D477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D477E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D477E#FFFFFF#000000##FFFFFF
##2D477E1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d477e;
/* rgb */ color: rgb(45, 71, 126);
/* oklch */ color: oklch(40.6% 0.098 263.6);
Tailwind
colors: {
  custom: {
    50: '#6e79a4',
    500: '#2d477e',
    950: '#000000',
  },
}
SCSS
$custom: #2d477e;
$custom-light: #6e79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d477e",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 220.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.09794,
    "h": 263.6
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#2D477E
secondary
#AC925A
accent
#AC51D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D477E

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

Preview Lab → · Contrast checker → · Palette generator →

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