#2D477A#2D477A

#2D477A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.092 H 262.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D477A
RGBrgb(45, 71, 122)
HSLhsl(220, 46%, 33%)
HSVhsv(220, 63%, 48%)
CMYKcmyk(63.1%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.57, 7.33, -32.05)
CIE-LCHlch(30.57, 32.88, 282.88°)
OKLaboklab(40.38% -0.0118 -0.0911)
OKLCHoklch(40.38% 0.092 262.6)
XYZxyz(6.8471, 6.4689, 19.2964)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D477A #7A602D
analogous
#2D6E7A #2D477A #392D7A
triadic
#2D477A #7A2D47 #477A2D
tetradic
#2D477A #7A2D6E #7A602D #2D7A39
square
#2D477A #7A2D6E #7A602D #2D7A39
split-complementary
#2D477A #7A392D #6E7A2D
monochromatic
#0C1321 #1D2D4D #2D477A #3D61A7 #5E80C4

Accessibility & contrast

On white

9.15
#2D477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D477A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D477A#FFFFFF#000000##FFFFFF
##2D477A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#00525A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d477a;
/* rgb */ color: rgb(45, 71, 122);
/* oklch */ color: oklch(40.4% 0.092 262.6);
Tailwind
colors: {
  custom: {
    50: '#6d79a1',
    500: '#2d477a',
    950: '#000000',
  },
}
SCSS
$custom: #2d477a;
$custom-light: #6d79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d477a",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 219.74,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.0919,
    "h": 262.6
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#2D477A
secondary
#AA8F59
accent
#A952D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2D477A

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

Preview Lab → · Contrast checker → · Palette generator →

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