#2048A5#2048A5

#2048A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.157 H 263.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2048A5
RGBrgb(32, 72, 165)
HSLhsl(222, 68%, 39%)
HSVhsv(222, 81%, 65%)
CMYKcmyk(80.6%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.26, 21.35, -54.08)
CIE-LCHlch(33.26, 58.14, 291.55°)
OKLaboklab(43.23% -0.0175 -0.1561)
OKLCHoklch(43.23% 0.157 263.6)
XYZxyz(9.7021, 7.6573, 36.5567)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048A5 #A57D20
analogous
#208AA5 #2048A5 #3A20A5
triadic
#2048A5 #A52048 #48A520
tetradic
#2048A5 #A5208A #A57D20 #20A53A
square
#2048A5 #A5208A #A57D20 #20A53A
split-complementary
#2048A5 #A53A20 #8AA520
monochromatic
#0C1B3E #163272 #2048A5 #2C5FD6 #5F86E0

Accessibility & contrast

On white

8.30
#2048A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2048A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2048A5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048A5#FFFFFF#000000##FFFFFF
##2048A51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2048a5;
/* rgb */ color: rgb(32, 72, 165);
/* oklch */ color: oklch(43.2% 0.157 263.6);
Tailwind
colors: {
  custom: {
    50: '#727ac0',
    500: '#2048a5',
    950: '#000000',
  },
}
SCSS
$custom: #2048a5;
$custom-light: #727ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2048a5",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 221.955,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43227,
    "c": 0.15707,
    "h": 263.6
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

primary
#2048A5
secondary
#C5A55C
accent
#B63DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2048A5

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

Preview Lab → · Contrast checker → · Palette generator →

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