#2028BD#2028BD

#2028BD is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.223 H 268.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2028BD
RGBrgb(32, 40, 189)
HSLhsl(237, 71%, 43%)
HSVhsv(237, 83%, 74%)
CMYKcmyk(83.1%, 78.8%, 0%, 25.9%)
CIE-LABlab(28.11, 50.07, -76.84)
CIE-LCHlch(28.11, 91.72, 303.09°)
OKLaboklab(40.16% -0.0046 -0.2226)
OKLCHoklch(40.16% 0.223 268.8)
XYZxyz(10.5366, 5.4975, 48.6400)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028BD #BDB520
analogous
#2076BD #2028BD #6720BD
triadic
#2028BD #BD2028 #28BD20
tetradic
#2028BD #BD2076 #BDB520 #20BD67
square
#2028BD #BD2076 #BDB520 #20BD67
split-complementary
#2028BD #BD6720 #76BD20
monochromatic
#0E1254 #171D89 #2028BD #3C44DE #7177E7

Accessibility & contrast

On white

10.00
#2028BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2028BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028BD
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028BD#FFFFFF#000000##FFFFFF
##2028BD1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003ABA
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2028bd;
/* rgb */ color: rgb(32, 40, 189);
/* oklch */ color: oklch(40.2% 0.223 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b65d2',
    500: '#2028bd',
    950: '#000000',
  },
}
SCSS
$custom: #2028bd;
$custom-light: #7b65d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2028bd",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 236.943,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.22266,
    "h": 268.8
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#2028BD
secondary
#CDC86B
accent
#E53AEE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2028BD

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

Preview Lab → · Contrast checker → · Palette generator →

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