#2048A1#2048A1

#2048A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.152 H 263.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2048A1
RGBrgb(32, 72, 161)
HSLhsl(221, 67%, 38%)
HSVhsv(221, 80%, 63%)
CMYKcmyk(80.1%, 55.3%, 0%, 36.9%)
CIE-LABlab(32.95, 19.77, -52.18)
CIE-LCHlch(32.95, 55.80, 290.76°)
OKLaboklab(42.9% -0.0179 -0.1505)
OKLCHoklch(42.9% 0.152 263.2)
XYZxyz(9.3438, 7.5139, 34.6692)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048A1 #A17920
analogous
#2089A1 #2048A1 #3820A1
triadic
#2048A1 #A12048 #48A120
tetradic
#2048A1 #A12089 #A17920 #20A138
square
#2048A1 #A12089 #A17920 #20A138
split-complementary
#2048A1 #A13820 #89A120
monochromatic
#0C1A3B #16316E #2048A1 #2A5FD4 #5D85DF

Accessibility & contrast

On white

8.39
#2048A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2048A1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048A1#FFFFFF#000000##FFFFFF
##2048A11.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2048a1;
/* rgb */ color: rgb(32, 72, 161);
/* oklch */ color: oklch(42.9% 0.152 263.2);
Tailwind
colors: {
  custom: {
    50: '#717abd',
    500: '#2048a1',
    950: '#000000',
  },
}
SCSS
$custom: #2048a1;
$custom-light: #717abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2048a1",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 161
  },
  "hsl": {
    "h": 221.395,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.15156,
    "h": 263.2
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#2048A1
secondary
#C3A25A
accent
#B53EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2048A1

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

Preview Lab → · Contrast checker → · Palette generator →

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