#2047A8#2047A8

#2047A8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.162 H 264.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2047A8
RGBrgb(32, 71, 168)
HSLhsl(223, 68%, 39%)
HSVhsv(223, 81%, 66%)
CMYKcmyk(81%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.22, 23.21, -55.94)
CIE-LCHlch(33.22, 60.56, 292.53°)
OKLaboklab(43.27% -0.0167 -0.1616)
OKLCHoklch(43.27% 0.162 264.1)
XYZxyz(9.9143, 7.6395, 37.9902)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2047A8 #A88120
analogous
#208BA8 #2047A8 #3D20A8
triadic
#2047A8 #A82047 #47A820
tetradic
#2047A8 #A8208B #A88120 #20A83D
square
#2047A8 #A8208B #A88120 #20A83D
split-complementary
#2047A8 #A83D20 #8BA820
monochromatic
#0C1C41 #163175 #2047A8 #2E5FD7 #6186E1

Accessibility & contrast

On white

8.31
#2047A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2047A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2047A8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2047A8#FFFFFF#000000##FFFFFF
##2047A81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2047a8;
/* rgb */ color: rgb(32, 71, 168);
/* oklch */ color: oklch(43.3% 0.162 264.1);
Tailwind
colors: {
  custom: {
    50: '#7379c3',
    500: '#2047a8',
    950: '#000000',
  },
}
SCSS
$custom: #2047a8;
$custom-light: #7379c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2047a8",
  "rgb": {
    "r": 32,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 222.794,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.16243,
    "h": 264.1
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2047A8

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

Preview Lab → · Contrast checker → · Palette generator →

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