#2028A7#2028A7

#2028A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.197 H 269.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2028A7
RGBrgb(32, 40, 167)
HSLhsl(236, 68%, 39%)
HSVhsv(236, 81%, 65%)
CMYKcmyk(80.8%, 76%, 0%, 34.5%)
CIE-LABlab(25.60, 42.74, -67.84)
CIE-LCHlch(25.60, 80.18, 302.21°)
OKLaboklab(37.67% -0.001 -0.1965)
OKLCHoklch(37.67% 0.197 269.7)
XYZxyz(8.3271, 4.6137, 37.0034)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028A7 #A79F20
analogous
#206CA7 #2028A7 #5B20A7
triadic
#2028A7 #A72028 #28A720
tetradic
#2028A7 #A7206C #A79F20 #20A75B
square
#2028A7 #A7206C #A79F20 #20A75B
split-complementary
#2028A7 #A75B20 #6CA720
monochromatic
#0C0F40 #161C74 #2028A7 #2D37D7 #6168E1

Accessibility & contrast

On white

10.92
#2028A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2028A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028A7
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028A7#FFFFFF#000000##FFFFFF
##2028A71.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2028a7;
/* rgb */ color: rgb(32, 40, 167);
/* oklch */ color: oklch(37.7% 0.197 269.7);
Tailwind
colors: {
  custom: {
    50: '#7563c2',
    500: '#2028a7',
    950: '#000000',
  },
}
SCSS
$custom: #2028a7;
$custom-light: #7563c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2028a7",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 236.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37666,
    "c": 0.19651,
    "h": 269.7
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#2028A7
secondary
#C5BF5D
accent
#E03DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2028A7

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

Preview Lab → · Contrast checker → · Palette generator →

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