#2028A8#2028A8

#2028A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.198 H 269.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2028A8
RGBrgb(32, 40, 168)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 66%)
CMYKcmyk(81%, 76.2%, 0%, 34.1%)
CIE-LABlab(25.72, 43.08, -68.26)
CIE-LCHlch(25.72, 80.72, 302.26°)
OKLaboklab(37.78% -0.0011 -0.1977)
OKLCHoklch(37.78% 0.198 269.7)
XYZxyz(8.4199, 4.6508, 37.4921)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028A8 #A8A020
analogous
#206CA8 #2028A8 #5C20A8
triadic
#2028A8 #A82028 #28A820
tetradic
#2028A8 #A8206C #A8A020 #20A85C
square
#2028A8 #A8206C #A8A020 #20A85C
split-complementary
#2028A8 #A85C20 #6CA820
monochromatic
#0C1041 #161C75 #2028A8 #2E38D7 #6169E1

Accessibility & contrast

On white

10.88
#2028A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2028A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028A8
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028A8#FFFFFF#000000##FFFFFF
##2028A81.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2028a8;
/* rgb */ color: rgb(32, 40, 168);
/* oklch */ color: oklch(37.8% 0.198 269.7);
Tailwind
colors: {
  custom: {
    50: '#7664c3',
    500: '#2028a8',
    950: '#000000',
  },
}
SCSS
$custom: #2028a8;
$custom-light: #7664c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2028a8",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 236.471,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.19773,
    "h": 269.7
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2028A8

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

Preview Lab → · Contrast checker → · Palette generator →

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