#2047A7#2047A7

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

Color values

HEX#2047A7
RGBrgb(32, 71, 167)
HSLhsl(223, 68%, 39%)
HSVhsv(223, 81%, 65%)
CMYKcmyk(80.8%, 57.5%, 0%, 34.5%)
CIE-LABlab(33.14, 22.82, -55.47)
CIE-LCHlch(33.14, 59.98, 292.36°)
OKLaboklab(43.19% -0.0167 -0.1602)
OKLCHoklch(43.19% 0.161 264)
XYZxyz(9.8215, 7.6024, 37.5015)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047A7 #A78020
analogous
#208BA7 #2047A7 #3D20A7
triadic
#2047A7 #A72047 #47A720
tetradic
#2047A7 #A7208B #A78020 #20A73D
square
#2047A7 #A7208B #A78020 #20A73D
split-complementary
#2047A7 #A73D20 #8BA720
monochromatic
#0C1B40 #163174 #2047A7 #2D5ED7 #6186E1

Accessibility & contrast

On white

8.33
#2047A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2047A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047A7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047A7#FFFFFF#000000##FFFFFF
##2047A71.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)
#0054AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2047a7;
/* rgb */ color: rgb(32, 71, 167);
/* oklch */ color: oklch(43.2% 0.161 264.0);
Tailwind
colors: {
  custom: {
    50: '#7379c2',
    500: '#2047a7',
    950: '#000000',
  },
}
SCSS
$custom: #2047a7;
$custom-light: #7379c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2047a7",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 222.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43188,
    "c": 0.16107,
    "h": 264
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#2047A7
secondary
#C5A75D
accent
#B93DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2047A7

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

Preview Lab → · Contrast checker → · Palette generator →

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