#2048AF#2048AF

#2048AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.171 H 264.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2048AF
RGBrgb(32, 72, 175)
HSLhsl(223, 69%, 41%)
HSVhsv(223, 82%, 69%)
CMYKcmyk(81.7%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.06, 25.27, -58.75)
CIE-LCHlch(34.06, 63.95, 293.28°)
OKLaboklab(44.08% -0.017 -0.1698)
OKLCHoklch(44.08% 0.171 264.3)
XYZxyz(10.6481, 8.0357, 41.5390)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2048AF #AF8720
analogous
#208FAF #2048AF #4020AF
triadic
#2048AF #AF2048 #48AF20
tetradic
#2048AF #AF208F #AF8720 #20AF40
square
#2048AF #AF208F #AF8720 #20AF40
split-complementary
#2048AF #AF4020 #8FAF20
monochromatic
#0D1D48 #17337B #2048AF #3361DA #6689E3

Accessibility & contrast

On white

8.05
#2048AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2048AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2048AF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2048AF#FFFFFF#000000##FFFFFF
##2048AF1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2048af;
/* rgb */ color: rgb(32, 72, 175);
/* oklch */ color: oklch(44.1% 0.171 264.3);
Tailwind
colors: {
  custom: {
    50: '#757ac8',
    500: '#2048af',
    950: '#000000',
  },
}
SCSS
$custom: #2048af;
$custom-light: #757ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2048af",
  "rgb": {
    "r": 32,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 223.217,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44078,
    "c": 0.17065,
    "h": 264.3
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#2048AF
secondary
#C8AC62
accent
#BB3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2048AF

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

Preview Lab → · Contrast checker → · Palette generator →

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