#2047A4#2047A4

#2047A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.157 H 263.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2047A4
RGBrgb(32, 71, 164)
HSLhsl(222, 67%, 38%)
HSVhsv(222, 80%, 64%)
CMYKcmyk(80.5%, 56.7%, 0%, 35.7%)
CIE-LABlab(32.90, 21.64, -54.05)
CIE-LCHlch(32.90, 58.22, 291.81°)
OKLaboklab(42.93% -0.0169 -0.156)
OKLCHoklch(42.93% 0.157 263.8)
XYZxyz(9.5474, 7.4928, 36.0578)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047A4 #A47D20
analogous
#2089A4 #2047A4 #3B20A4
triadic
#2047A4 #A42047 #47A420
tetradic
#2047A4 #A42089 #A47D20 #20A43B
square
#2047A4 #A42089 #A47D20 #20A43B
split-complementary
#2047A4 #A43B20 #89A420
monochromatic
#0C1B3E #163171 #2047A4 #2B5ED6 #5F85E0

Accessibility & contrast

On white

8.40
#2047A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2047A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047A4
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047A4#FFFFFF#000000##FFFFFF
##2047A41.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2047a4;
/* rgb */ color: rgb(32, 71, 164);
/* oklch */ color: oklch(42.9% 0.157 263.8);
Tailwind
colors: {
  custom: {
    50: '#7279c0',
    500: '#2047a4',
    950: '#000000',
  },
}
SCSS
$custom: #2047a4;
$custom-light: #7279c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2047a4",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 222.273,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42934,
    "c": 0.15695,
    "h": 263.8
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#2047A4
secondary
#C4A55C
accent
#B73EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2047A4

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

Preview Lab → · Contrast checker → · Palette generator →

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