#28209C#28209C

#28209C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.188 H 274.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#28209C
RGBrgb(40, 32, 156)
HSLhsl(244, 66%, 37%)
HSVhsv(244, 79%, 61%)
CMYKcmyk(74.4%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.28, 44.08, -64.97)
CIE-LCHlch(23.28, 78.52, 304.16°)
OKLaboklab(35.79% 0.0135 -0.1879)
OKLCHoklch(35.79% 0.188 274.1)
XYZxyz(7.3903, 3.8837, 31.8062)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28209C #949C20
analogous
#20569C #28209C #66209C
triadic
#28209C #9C2820 #209C28
tetradic
#28209C #9C2056 #949C20 #209C66
square
#28209C #9C2056 #949C20 #209C66
split-complementary
#28209C #9C6620 #569C20
monochromatic
#0E0B36 #1B1669 #28209C #352ACF #6259DD

Accessibility & contrast

On white

11.82
#28209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#28209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28209C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28209C#FFFFFF#000000##FFFFFF
##28209C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28209c;
/* rgb */ color: rgb(40, 32, 156);
/* oklch */ color: oklch(35.8% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#765ebb',
    500: '#28209c',
    950: '#000000',
  },
}
SCSS
$custom: #28209c;
$custom-light: #765ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#28209c",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 243.871,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.18842,
    "h": 274.1
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#28209C
secondary
#BAC157
accent
#E93FDE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #28209C

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

Preview Lab → · Contrast checker → · Palette generator →

#28209C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva