#2D47A3#2D47A3

#2D47A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.152 H 267.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2D47A3
RGBrgb(45, 71, 163)
HSLhsl(227, 57%, 41%)
HSVhsv(227, 72%, 64%)
CMYKcmyk(72.4%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.37, 22.81, -52.68)
CIE-LCHlch(33.37, 57.40, 293.42°)
OKLaboklab(43.41% -0.0062 -0.1517)
OKLCHoklch(43.41% 0.152 267.6)
XYZxyz(9.9440, 7.7077, 35.6069)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47A3 #A3892D
analogous
#2D82A3 #2D47A3 #4E2DA3
triadic
#2D47A3 #A32D47 #47A32D
tetradic
#2D47A3 #A32D82 #A3892D #2DA34E
square
#2D47A3 #A32D82 #A3892D #2DA34E
split-complementary
#2D47A3 #A34E2D #82A32D
monochromatic
#131D43 #203273 #2D47A3 #4260CB #7289D8

Accessibility & contrast

On white

8.26
#2D47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D47A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47A3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47A3#FFFFFF#000000##FFFFFF
##2D47A31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d47a3;
/* rgb */ color: rgb(45, 71, 163);
/* oklch */ color: oklch(43.4% 0.152 267.6);
Tailwind
colors: {
  custom: {
    50: '#7679bf',
    500: '#2d47a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d47a3;
$custom-light: #7679bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47a3",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 226.78,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43409,
    "c": 0.15188,
    "h": 267.6
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#2D47A3
secondary
#C0AD6C
accent
#BE48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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