#2047AD#2047AD

#2047AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.169 H 264.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2047AD
RGBrgb(32, 71, 173)
HSLhsl(223, 69%, 40%)
HSVhsv(223, 82%, 68%)
CMYKcmyk(81.5%, 59%, 0%, 32.2%)
CIE-LABlab(33.63, 25.16, -58.26)
CIE-LCHlch(33.63, 63.46, 293.36°)
OKLaboklab(43.7% -0.0164 -0.1684)
OKLCHoklch(43.7% 0.169 264.4)
XYZxyz(10.3890, 7.8294, 40.4907)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047AD #AD8620
analogous
#208EAD #2047AD #3F20AD
triadic
#2047AD #AD2047 #47AD20
tetradic
#2047AD #AD208E #AD8620 #20AD3F
square
#2047AD #AD208E #AD8620 #20AD3F
split-complementary
#2047AD #AD3F20 #8EAD20
monochromatic
#0D1D46 #163279 #2047AD #3160D9 #6588E2

Accessibility & contrast

On white

8.18
#2047AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2047AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047AD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047AD#FFFFFF#000000##FFFFFF
##2047AD1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2047ad;
/* rgb */ color: rgb(32, 71, 173);
/* oklch */ color: oklch(43.7% 0.169 264.4);
Tailwind
colors: {
  custom: {
    50: '#7479c6',
    500: '#2047ad',
    950: '#000000',
  },
}
SCSS
$custom: #2047ad;
$custom-light: #7479c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2047ad",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 223.404,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43703,
    "c": 0.1692,
    "h": 264.4
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#2047AD
secondary
#C8AB61
accent
#BB3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2047AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2047AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva