#2028B3#2028B3

#2028B3 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.211 H 269.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#2028B3
RGBrgb(32, 40, 179)
HSLhsl(237, 70%, 41%)
HSVhsv(237, 82%, 70%)
CMYKcmyk(82.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(26.96, 46.79, -72.81)
CIE-LCHlch(26.96, 86.55, 302.73°)
OKLaboklab(39.02% -0.0029 -0.2109)
OKLCHoklch(39.02% 0.211 269.2)
XYZxyz(9.4884, 5.0782, 43.1192)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2028B3 #B3AB20
analogous
#2072B3 #2028B3 #6220B3
triadic
#2028B3 #B32028 #28B320
tetradic
#2028B3 #B32072 #B3AB20 #20B362
square
#2028B3 #B32072 #B3AB20 #20B362
split-complementary
#2028B3 #B36220 #72B320
monochromatic
#0D114B #171C7F #2028B3 #353EDB #6970E4

Accessibility & contrast

On white

10.42
#2028B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2028B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2028B3
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2028B3#FFFFFF#000000##FFFFFF
##2028B31.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2028b3;
/* rgb */ color: rgb(32, 40, 179);
/* oklch */ color: oklch(39.0% 0.211 269.2);
Tailwind
colors: {
  custom: {
    50: '#7864cb',
    500: '#2028b3',
    950: '#000000',
  },
}
SCSS
$custom: #2028b3;
$custom-light: #7864cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2028b3",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 236.735,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.21095,
    "h": 269.2
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#2028B3
secondary
#CAC465
accent
#E33BEC
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2028B3

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

Preview Lab → · Contrast checker → · Palette generator →

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