#2028A0#2028A0

#2028A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.188 H 270.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2028A0
RGBrgb(32, 40, 160)
HSLhsl(236, 67%, 38%)
HSVhsv(236, 80%, 63%)
CMYKcmyk(80%, 75%, 0%, 37.3%)
CIE-LABlab(24.83, 40.32, -64.87)
CIE-LCHlch(24.83, 76.38, 301.86°)
OKLaboklab(36.89% 0.0001 -0.1879)
OKLCHoklch(36.89% 0.188 270)
XYZxyz(7.6975, 4.3619, 33.6871)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028A0 #A09820
analogous
#2068A0 #2028A0 #5820A0
triadic
#2028A0 #A02028 #28A020
tetradic
#2028A0 #A02068 #A09820 #20A058
square
#2028A0 #A02068 #A09820 #20A058
split-complementary
#2028A0 #A05820 #68A020
monochromatic
#0C0E3A #161B6D #2028A0 #2A35D3 #5C64DE

Accessibility & contrast

On white

11.21
#2028A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2028A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028A0
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028A0#FFFFFF#000000##FFFFFF
##2028A01.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2028a0;
/* rgb */ color: rgb(32, 40, 160);
/* oklch */ color: oklch(36.9% 0.188 270.0);
Tailwind
colors: {
  custom: {
    50: '#7363bd',
    500: '#2028a0',
    950: '#000000',
  },
}
SCSS
$custom: #2028a0;
$custom-light: #7363bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2028a0",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 236.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.18789,
    "h": 270
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#2028A0
secondary
#C3BC59
accent
#DF3EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2028A0

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

Preview Lab → · Contrast checker → · Palette generator →

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