#2047B4#2047B4

#2047B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.179 H 264.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2047B4
RGBrgb(32, 71, 180)
HSLhsl(224, 70%, 42%)
HSVhsv(224, 82%, 71%)
CMYKcmyk(82.2%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.21, 27.88, -61.47)
CIE-LCHlch(34.21, 67.50, 294.39°)
OKLaboklab(44.32% -0.0162 -0.1778)
OKLCHoklch(44.32% 0.179 264.8)
XYZxyz(11.0842, 8.1075, 44.1519)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047B4 #B48D20
analogous
#2091B4 #2047B4 #4320B4
triadic
#2047B4 #B42047 #47B420
tetradic
#2047B4 #B42091 #B48D20 #20B443
square
#2047B4 #B42091 #B48D20 #20B443
split-complementary
#2047B4 #B44320 #91B420
monochromatic
#0E1E4C #173380 #2047B4 #3662DB #6A8AE4

Accessibility & contrast

On white

8.01
#2047B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2047B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047B4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047B4#FFFFFF#000000##FFFFFF
##2047B41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2047b4;
/* rgb */ color: rgb(32, 71, 180);
/* oklch */ color: oklch(44.3% 0.179 264.8);
Tailwind
colors: {
  custom: {
    50: '#7679cb',
    500: '#2047b4',
    950: '#000000',
  },
}
SCSS
$custom: #2047b4;
$custom-light: #7679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2047b4",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 224.189,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44318,
    "c": 0.17856,
    "h": 264.8
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#2047B4
secondary
#CAB066
accent
#BE3BED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2047B4

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

Preview Lab → · Contrast checker → · Palette generator →

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