#2047BB#2047BB

#2047BB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.188 H 265.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2047BB
RGBrgb(32, 71, 187)
HSLhsl(225, 71%, 43%)
HSVhsv(225, 83%, 73%)
CMYKcmyk(82.9%, 62%, 0%, 26.7%)
CIE-LABlab(34.80, 30.56, -64.63)
CIE-LCHlch(34.80, 71.49, 295.31°)
OKLaboklab(44.95% -0.0161 -0.1871)
OKLCHoklch(44.95% 0.188 265.1)
XYZxyz(11.8154, 8.4000, 48.0027)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047BB #BB9420
analogous
#2094BB #2047BB #4620BB
triadic
#2047BB #BB2047 #47BB20
tetradic
#2047BB #BB2094 #BB9420 #20BB46
square
#2047BB #BB2094 #BB9420 #20BB46
split-complementary
#2047BB #BB4620 #94BB20
monochromatic
#0E1F52 #173387 #2047BB #3B64DD #6F8DE6

Accessibility & contrast

On white

7.84
#2047BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2047BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047BB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047BB#FFFFFF#000000##FFFFFF
##2047BB1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2047bb;
/* rgb */ color: rgb(32, 71, 187);
/* oklch */ color: oklch(44.9% 0.188 265.1);
Tailwind
colors: {
  custom: {
    50: '#7879d0',
    500: '#2047bb',
    950: '#000000',
  },
}
SCSS
$custom: #2047bb;
$custom-light: #7879d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2047bb",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 224.903,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.18776,
    "h": 265.1
  },
  "luminance": 0.08401
}

Semantic roles & 50–950 ramp

primary
#2047BB
secondary
#CDB46A
accent
#C03AEE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2047BB

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

Preview Lab → · Contrast checker → · Palette generator →

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