#2D47B0#2D47B0

#2D47B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.170 H 268.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2D47B0
RGBrgb(45, 71, 176)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74.4%, 59.7%, 0%, 31%)
CIE-LABlab(34.39, 27.70, -58.78)
CIE-LCHlch(34.39, 64.98, 295.23°)
OKLaboklab(44.5% -0.0058 -0.1697)
OKLCHoklch(44.5% 0.17 268)
XYZxyz(11.1692, 8.1978, 42.0596)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47B0 #B0962D
analogous
#2D88B0 #2D47B0 #552DB0
triadic
#2D47B0 #B02D47 #47B02D
tetradic
#2D47B0 #B02D88 #B0962D #2DB055
square
#2D47B0 #B02D88 #B0962D #2DB055
split-complementary
#2D47B0 #B0552D #88B02D
monochromatic
#14204F #21337F #2D47B0 #4A64D1 #7A8EDD

Accessibility & contrast

On white

7.96
#2D47B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D47B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47B0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47B0#FFFFFF#000000##FFFFFF
##2D47B01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d47b0;
/* rgb */ color: rgb(45, 71, 176);
/* oklch */ color: oklch(44.5% 0.170 268.0);
Tailwind
colors: {
  custom: {
    50: '#7979c8',
    500: '#2d47b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d47b0;
$custom-light: #7979c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47b0",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 228.092,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.16977,
    "h": 268
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#2D47B0
secondary
#C5B573
accent
#C345E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D47B0

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

Preview Lab → · Contrast checker → · Palette generator →

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