#2D47B1#2D47B1

#2D47B1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.171 H 268.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2D47B1
RGBrgb(45, 71, 177)
HSLhsl(228, 59%, 44%)
HSVhsv(228, 75%, 69%)
CMYKcmyk(74.6%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.47, 28.07, -59.24)
CIE-LCHlch(34.47, 65.55, 295.36°)
OKLaboklab(44.58% -0.0058 -0.171)
OKLCHoklch(44.58% 0.171 268.1)
XYZxyz(11.2685, 8.2375, 42.5826)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47B1 #B1972D
analogous
#2D89B1 #2D47B1 #552DB1
triadic
#2D47B1 #B12D47 #47B12D
tetradic
#2D47B1 #B12D89 #B1972D #2DB155
square
#2D47B1 #B12D89 #B1972D #2DB155
split-complementary
#2D47B1 #B1552D #89B12D
monochromatic
#14204F #213380 #2D47B1 #4A65D1 #7B8EDD

Accessibility & contrast

On white

7.93
#2D47B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D47B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47B1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47B1#FFFFFF#000000##FFFFFF
##2D47B11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d47b1;
/* rgb */ color: rgb(45, 71, 177);
/* oklch */ color: oklch(44.6% 0.171 268.1);
Tailwind
colors: {
  custom: {
    50: '#7979c9',
    500: '#2d47b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d47b1;
$custom-light: #7979c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47b1",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 228.182,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.17113,
    "h": 268.1
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#2D47B1
secondary
#C6B674
accent
#C445E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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