#2047A2#2047A2

#2047A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.154 H 263.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2047A2
RGBrgb(32, 71, 162)
HSLhsl(222, 67%, 38%)
HSVhsv(222, 80%, 64%)
CMYKcmyk(80.2%, 56.2%, 0%, 36.5%)
CIE-LABlab(32.75, 20.85, -53.11)
CIE-LCHlch(32.75, 57.05, 291.43°)
OKLaboklab(42.77% -0.0171 -0.1533)
OKLCHoklch(42.77% 0.154 263.6)
XYZxyz(9.3682, 7.4211, 35.1141)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047A2 #A27B20
analogous
#2088A2 #2047A2 #3A20A2
triadic
#2047A2 #A22047 #47A220
tetradic
#2047A2 #A22088 #A27B20 #20A23A
square
#2047A2 #A22088 #A27B20 #20A23A
split-complementary
#2047A2 #A23A20 #88A220
monochromatic
#0C1A3C #16316F #2047A2 #2A5DD5 #5D84DF

Accessibility & contrast

On white

8.45
#2047A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2047A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047A2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047A2#FFFFFF#000000##FFFFFF
##2047A21.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2047a2;
/* rgb */ color: rgb(32, 71, 162);
/* oklch */ color: oklch(42.8% 0.154 263.6);
Tailwind
colors: {
  custom: {
    50: '#7179be',
    500: '#2047a2',
    950: '#000000',
  },
}
SCSS
$custom: #2047a2;
$custom-light: #7179be;
$custom-dark: #000000;
JSON
{
  "hex": "#2047a2",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 222,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.15421,
    "h": 263.6
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#2047A2
secondary
#C3A45A
accent
#B63EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2047A2

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

Preview Lab → · Contrast checker → · Palette generator →

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