#2048A2#2048A2

#2048A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.153 H 263.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2048A2
RGBrgb(32, 72, 162)
HSLhsl(222, 67%, 38%)
HSVhsv(222, 80%, 64%)
CMYKcmyk(80.2%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.03, 20.17, -52.65)
CIE-LCHlch(33.03, 56.38, 290.96°)
OKLaboklab(42.98% -0.0178 -0.1519)
OKLCHoklch(42.98% 0.153 263.3)
XYZxyz(9.4323, 7.5493, 35.1355)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048A2 #A27A20
analogous
#2089A2 #2048A2 #3920A2
triadic
#2048A2 #A22048 #48A220
tetradic
#2048A2 #A22089 #A27A20 #20A239
square
#2048A2 #A22089 #A27A20 #20A239
split-complementary
#2048A2 #A23920 #89A220
monochromatic
#0C1B3C #16316F #2048A2 #2A5FD5 #5D85DF

Accessibility & contrast

On white

8.37
#2048A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2048A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2048A2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048A2#FFFFFF#000000##FFFFFF
##2048A21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2048a2;
/* rgb */ color: rgb(32, 72, 162);
/* oklch */ color: oklch(43.0% 0.153 263.3);
Tailwind
colors: {
  custom: {
    50: '#717abe',
    500: '#2048a2',
    950: '#000000',
  },
}
SCSS
$custom: #2048a2;
$custom-light: #717abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2048a2",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 221.538,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42978,
    "c": 0.15294,
    "h": 263.3
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2048A2

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

Preview Lab → · Contrast checker → · Palette generator →

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