#2D477B#2D477B

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

Color values

HEX#2D477B
RGBrgb(45, 71, 123)
HSLhsl(220, 46%, 33%)
HSVhsv(220, 63%, 48%)
CMYKcmyk(63.4%, 42.3%, 0%, 51.8%)
CIE-LABlab(30.63, 7.70, -32.58)
CIE-LCHlch(30.63, 33.48, 283.30°)
OKLaboklab(40.44% -0.0116 -0.0927)
OKLCHoklch(40.44% 0.093 262.9)
XYZxyz(6.9093, 6.4938, 19.6244)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D477B #7B612D
analogous
#2D6E7B #2D477B #3A2D7B
triadic
#2D477B #7B2D47 #477B2D
tetradic
#2D477B #7B2D6E #7B612D #2D7B3A
square
#2D477B #7B2D6E #7B612D #2D7B3A
split-complementary
#2D477B #7B3A2D #6E7B2D
monochromatic
#0C1321 #1D2D4E #2D477B #3D61A8 #5E80C4

Accessibility & contrast

On white

9.14
#2D477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D477B
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D477B#FFFFFF#000000##FFFFFF
##2D477B1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d477b;
/* rgb */ color: rgb(45, 71, 123);
/* oklch */ color: oklch(40.4% 0.093 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e79a1',
    500: '#2d477b',
    950: '#000000',
  },
}
SCSS
$custom: #2d477b;
$custom-light: #6e79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d477b",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 220,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40444,
    "c": 0.09341,
    "h": 262.9
  },
  "luminance": 0.06494
}

Semantic roles & 50–950 ramp

primary
#2D477B
secondary
#AB8F59
accent
#AA52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2D477B

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

Preview Lab → · Contrast checker → · Palette generator →

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