#2D47AE#2D47AE

#2D47AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 268.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2D47AE
RGBrgb(45, 71, 174)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 68%)
CMYKcmyk(74.1%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.23, 26.95, -57.85)
CIE-LCHlch(34.23, 63.82, 294.98°)
OKLaboklab(44.33% -0.0058 -0.167)
OKLCHoklch(44.33% 0.167 268)
XYZxyz(10.9728, 8.1192, 41.0251)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47AE #AE942D
analogous
#2D87AE #2D47AE #532DAE
triadic
#2D47AE #AE2D47 #47AE2D
tetradic
#2D47AE #AE2D87 #AE942D #2DAE53
square
#2D47AE #AE2D87 #AE942D #2DAE53
split-complementary
#2D47AE #AE532D #87AE2D
monochromatic
#141F4D #20337D #2D47AE #4864D0 #798DDC

Accessibility & contrast

On white

8.00
#2D47AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D47AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47AE
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47AE#FFFFFF#000000##FFFFFF
##2D47AE1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d47ae;
/* rgb */ color: rgb(45, 71, 174);
/* oklch */ color: oklch(44.3% 0.167 268.0);
Tailwind
colors: {
  custom: {
    50: '#7979c7',
    500: '#2d47ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d47ae;
$custom-light: #7979c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47ae",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 227.907,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44326,
    "c": 0.16706,
    "h": 268
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#2D47AE
secondary
#C4B472
accent
#C346E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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