#2047B2#2047B2

#2047B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.176 H 264.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2047B2
RGBrgb(32, 71, 178)
HSLhsl(224, 70%, 41%)
HSVhsv(224, 82%, 70%)
CMYKcmyk(82%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.04, 27.11, -60.56)
CIE-LCHlch(34.04, 66.35, 294.11°)
OKLaboklab(44.14% -0.0162 -0.1751)
OKLCHoklch(44.14% 0.176 264.7)
XYZxyz(10.8819, 8.0266, 43.0866)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047B2 #B28B20
analogous
#2090B2 #2047B2 #4220B2
triadic
#2047B2 #B22047 #47B220
tetradic
#2047B2 #B22090 #B28B20 #20B242
square
#2047B2 #B22090 #B28B20 #20B242
split-complementary
#2047B2 #B24220 #90B220
monochromatic
#0D1E4A #17327E #2047B2 #3561DB #6889E4

Accessibility & contrast

On white

8.06
#2047B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2047B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047B2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047B2#FFFFFF#000000##FFFFFF
##2047B21.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2047b2;
/* rgb */ color: rgb(32, 71, 178);
/* oklch */ color: oklch(44.1% 0.176 264.7);
Tailwind
colors: {
  custom: {
    50: '#7579ca',
    500: '#2047b2',
    950: '#000000',
  },
}
SCSS
$custom: #2047b2;
$custom-light: #7579ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2047b2",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 223.973,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.17589,
    "h": 264.7
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#2047B2
secondary
#CAAE64
accent
#BD3BEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2047B2

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

Preview Lab → · Contrast checker → · Palette generator →

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