#2D47A0#2D47A0

#2D47A0 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.148 H 267.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2D47A0
RGBrgb(45, 71, 160)
HSLhsl(226, 56%, 40%)
HSVhsv(226, 72%, 63%)
CMYKcmyk(71.9%, 55.6%, 0%, 37.3%)
CIE-LABlab(33.14, 21.68, -51.24)
CIE-LCHlch(33.14, 55.64, 292.93°)
OKLaboklab(43.17% -0.0064 -0.1475)
OKLCHoklch(43.17% 0.148 267.5)
XYZxyz(9.6784, 7.6014, 34.2081)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47A0 #A0862D
analogous
#2D80A0 #2D47A0 #4D2DA0
triadic
#2D47A0 #A02D47 #47A02D
tetradic
#2D47A0 #A02D80 #A0862D #2DA04D
square
#2D47A0 #A02D80 #A0862D #2DA04D
split-complementary
#2D47A0 #A04D2D #80A02D
monochromatic
#121D40 #203270 #2D47A0 #4160C9 #7088D7

Accessibility & contrast

On white

8.33
#2D47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D47A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47A0
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47A0#FFFFFF#000000##FFFFFF
##2D47A01.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d47a0;
/* rgb */ color: rgb(45, 71, 160);
/* oklch */ color: oklch(43.2% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#7579bd',
    500: '#2d47a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d47a0;
$custom-light: #7579bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47a0",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 226.435,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.14767,
    "h": 267.5
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#2D47A0
secondary
#BEAB6B
accent
#BD48DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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