#2047A6#2047A6

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

Color values

HEX#2047A6
RGBrgb(32, 71, 166)
HSLhsl(223, 68%, 39%)
HSVhsv(223, 81%, 65%)
CMYKcmyk(80.7%, 57.2%, 0%, 34.9%)
CIE-LABlab(33.06, 22.42, -55.00)
CIE-LCHlch(33.06, 59.39, 292.18°)
OKLaboklab(43.1% -0.0168 -0.1588)
OKLCHoklch(43.1% 0.16 264)
XYZxyz(9.7294, 7.5656, 37.0165)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047A6 #A67F20
analogous
#208AA6 #2047A6 #3C20A6
triadic
#2047A6 #A62047 #47A620
tetradic
#2047A6 #A6208A #A67F20 #20A63C
square
#2047A6 #A6208A #A67F20 #20A63C
split-complementary
#2047A6 #A63C20 #8AA620
monochromatic
#0C1B3F #163173 #2047A6 #2D5ED6 #6085E0

Accessibility & contrast

On white

8.36
#2047A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2047A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047A6
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047A6#FFFFFF#000000##FFFFFF
##2047A61.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2047a6;
/* rgb */ color: rgb(32, 71, 166);
/* oklch */ color: oklch(43.1% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#7279c1',
    500: '#2047a6',
    950: '#000000',
  },
}
SCSS
$custom: #2047a6;
$custom-light: #7279c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2047a6",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 222.537,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.1597,
    "h": 264
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2047A6

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

Preview Lab → · Contrast checker → · Palette generator →

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