#2048AD#2048AD

#2048AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.168 H 264.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2048AD
RGBrgb(32, 72, 173)
HSLhsl(223, 69%, 40%)
HSVhsv(223, 82%, 68%)
CMYKcmyk(81.5%, 58.4%, 0%, 32.2%)
CIE-LABlab(33.89, 24.49, -57.82)
CIE-LCHlch(33.89, 62.80, 292.96°)
OKLaboklab(43.91% -0.017 -0.1671)
OKLCHoklch(43.91% 0.168 264.2)
XYZxyz(10.4532, 7.9577, 40.5121)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048AD #AD8520
analogous
#208EAD #2048AD #3F20AD
triadic
#2048AD #AD2048 #48AD20
tetradic
#2048AD #AD208E #AD8520 #20AD3F
square
#2048AD #AD208E #AD8520 #20AD3F
split-complementary
#2048AD #AD3F20 #8EAD20
monochromatic
#0D1D46 #163379 #2048AD #3161D9 #6589E2

Accessibility & contrast

On white

8.10
#2048AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2048AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2048AD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048AD#FFFFFF#000000##FFFFFF
##2048AD1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2048ad;
/* rgb */ color: rgb(32, 72, 173);
/* oklch */ color: oklch(43.9% 0.168 264.2);
Tailwind
colors: {
  custom: {
    50: '#747ac6',
    500: '#2048ad',
    950: '#000000',
  },
}
SCSS
$custom: #2048ad;
$custom-light: #747ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2048ad",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 222.979,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.16797,
    "h": 264.2
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#2048AD
secondary
#C8AB61
accent
#BA3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2048AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2048AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva