#2D47B4#2D47B4

#2D47B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.175 H 268.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2D47B4
RGBrgb(45, 71, 180)
HSLhsl(228, 60%, 44%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(75%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.72, 29.19, -60.61)
CIE-LCHlch(34.72, 67.28, 295.72°)
OKLaboklab(44.84% -0.0058 -0.1751)
OKLCHoklch(44.84% 0.175 268.1)
XYZxyz(11.5708, 8.3584, 44.1747)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47B4 #B49A2D
analogous
#2D8BB4 #2D47B4 #562DB4
triadic
#2D47B4 #B42D47 #47B42D
tetradic
#2D47B4 #B42D8B #B49A2D #2DB456
square
#2D47B4 #B42D8B #B49A2D #2DB456
split-complementary
#2D47B4 #B4562D #8BB42D
monochromatic
#152052 #213483 #2D47B4 #4C66D2 #7D90DE

Accessibility & contrast

On white

7.86
#2D47B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2D47B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47B4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47B4#FFFFFF#000000##FFFFFF
##2D47B41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d47b4;
/* rgb */ color: rgb(45, 71, 180);
/* oklch */ color: oklch(44.8% 0.175 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7acb',
    500: '#2d47b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d47b4;
$custom-light: #7a7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47b4",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 228.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.17517,
    "h": 268.1
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#2D47B4
secondary
#C7B776
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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