#2049B4#2049B4

#2049B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.176 H 264.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2049B4
RGBrgb(32, 73, 180)
HSLhsl(223, 70%, 42%)
HSVhsv(223, 82%, 71%)
CMYKcmyk(82.2%, 59.4%, 0%, 29.4%)
CIE-LABlab(34.73, 26.55, -60.61)
CIE-LCHlch(34.73, 66.17, 293.65°)
OKLaboklab(44.71% -0.0174 -0.1753)
OKLCHoklch(44.71% 0.176 264.3)
XYZxyz(11.2135, 8.3661, 44.1950)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2049B4 #B48B20
analogous
#2093B4 #2049B4 #4120B4
triadic
#2049B4 #B42049 #49B420
tetradic
#2049B4 #B42093 #B48B20 #20B441
square
#2049B4 #B42093 #B48B20 #20B441
split-complementary
#2049B4 #B44120 #93B420
monochromatic
#0E1F4C #173480 #2049B4 #3664DB #6A8CE4

Accessibility & contrast

On white

7.86
#2049B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2049B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2049B4
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2049B4#FFFFFF#000000##FFFFFF
##2049B41.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2049b4;
/* rgb */ color: rgb(32, 73, 180);
/* oklch */ color: oklch(44.7% 0.176 264.3);
Tailwind
colors: {
  custom: {
    50: '#767bcb',
    500: '#2049b4',
    950: '#000000',
  },
}
SCSS
$custom: #2049b4;
$custom-light: #767bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2049b4",
  "rgb": {
    "r": 32,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 223.378,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44712,
    "c": 0.17612,
    "h": 264.3
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#2049B4
secondary
#CAAE66
accent
#BB3BED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2049B4

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

Preview Lab → · Contrast checker → · Palette generator →

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