#2028A9#2028A9

#2028A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.199 H 269.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2028A9
RGBrgb(32, 40, 169)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 66%)
CMYKcmyk(81.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(25.83, 43.42, -68.68)
CIE-LCHlch(25.83, 81.25, 302.30°)
OKLaboklab(37.89% -0.0013 -0.1989)
OKLCHoklch(37.89% 0.199 269.6)
XYZxyz(8.5134, 4.6882, 37.9847)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028A9 #A9A120
analogous
#206DA9 #2028A9 #5C20A9
triadic
#2028A9 #A92028 #28A920
tetradic
#2028A9 #A9206D #A9A120 #20A95C
square
#2028A9 #A9206D #A9A120 #20A95C
split-complementary
#2028A9 #A95C20 #6DA920
monochromatic
#0D1042 #161C76 #2028A9 #2F39D8 #626AE1

Accessibility & contrast

On white

10.84
#2028A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2028A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028A9
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028A9#FFFFFF#000000##FFFFFF
##2028A91.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2028a9;
/* rgb */ color: rgb(32, 40, 169);
/* oklch */ color: oklch(37.9% 0.199 269.6);
Tailwind
colors: {
  custom: {
    50: '#7664c4',
    500: '#2028a9',
    950: '#000000',
  },
}
SCSS
$custom: #2028a9;
$custom-light: #7664c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2028a9",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 236.496,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.19895,
    "h": 269.6
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#2028A9
secondary
#C6C05F
accent
#E13DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2028A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2028A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva