#2048A0#2048A0

#2048A0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.150 H 263.1°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2048A0
RGBrgb(32, 72, 160)
HSLhsl(221, 67%, 38%)
HSVhsv(221, 80%, 63%)
CMYKcmyk(80%, 55%, 0%, 37.3%)
CIE-LABlab(32.87, 19.38, -51.70)
CIE-LCHlch(32.87, 55.21, 290.55°)
OKLaboklab(42.81% -0.0179 -0.1491)
OKLCHoklch(42.81% 0.15 263.1)
XYZxyz(9.2559, 7.4788, 34.2066)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048A0 #A07820
analogous
#2088A0 #2048A0 #3820A0
triadic
#2048A0 #A02048 #48A020
tetradic
#2048A0 #A02088 #A07820 #20A038
square
#2048A0 #A02088 #A07820 #20A038
split-complementary
#2048A0 #A03820 #88A020
monochromatic
#0C1A3A #16316D #2048A0 #2A5FD3 #5C85DE

Accessibility & contrast

On white

8.41
#2048A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2048A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2048A0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048A0#FFFFFF#000000##FFFFFF
##2048A01.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2048a0;
/* rgb */ color: rgb(32, 72, 160);
/* oklch */ color: oklch(42.8% 0.150 263.1);
Tailwind
colors: {
  custom: {
    50: '#717abd',
    500: '#2048a0',
    950: '#000000',
  },
}
SCSS
$custom: #2048a0;
$custom-light: #717abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2048a0",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 160
  },
  "hsl": {
    "h": 221.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.15017,
    "h": 263.1
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#2048A0
secondary
#C3A259
accent
#B43EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2048A0

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

Preview Lab → · Contrast checker → · Palette generator →

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