#2D477C#2D477C

#2D477C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.095 H 263.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2D477C
RGBrgb(45, 71, 124)
HSLhsl(220, 47%, 33%)
HSVhsv(220, 64%, 49%)
CMYKcmyk(63.7%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.69, 8.07, -33.11)
CIE-LCHlch(30.69, 34.08, 283.70°)
OKLaboklab(40.51% -0.0114 -0.0942)
OKLCHoklch(40.51% 0.095 263.1)
XYZxyz(6.9723, 6.5190, 19.9557)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D477C #7C622D
analogous
#2D6E7C #2D477C #3A2D7C
triadic
#2D477C #7C2D47 #477C2D
tetradic
#2D477C #7C2D6E #7C622D #2D7C3A
square
#2D477C #7C2D6E #7C622D #2D7C3A
split-complementary
#2D477C #7C3A2D #6E7C2D
monochromatic
#0C1422 #1D2D4F #2D477C #3D61A9 #5F80C5

Accessibility & contrast

On white

9.11
#2D477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D477C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D477C#FFFFFF#000000##FFFFFF
##2D477C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d477c;
/* rgb */ color: rgb(45, 71, 124);
/* oklch */ color: oklch(40.5% 0.095 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e79a2',
    500: '#2d477c',
    950: '#000000',
  },
}
SCSS
$custom: #2d477c;
$custom-light: #6e79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d477c",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 220.253,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4051,
    "c": 0.09492,
    "h": 263.1
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#2D477C
secondary
#AB905A
accent
#AB51D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D477C

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

Preview Lab → · Contrast checker → · Palette generator →

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