#28205B#28205B

#28205B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.1% C 0.102 H 284.3°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#28205B
RGBrgb(40, 32, 91)
HSLhsl(248, 48%, 24%)
HSVhsv(248, 65%, 36%)
CMYKcmyk(56%, 64.8%, 0%, 64.3%)
CIE-LABlab(16.70, 21.84, -34.33)
CIE-LCHlch(16.70, 40.69, 302.47°)
OKLaboklab(29.1% 0.0251 -0.0984)
OKLCHoklch(29.1% 0.102 284.3)
XYZxyz(3.2793, 2.2393, 10.1549)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28205B #535B20
analogous
#20365B #28205B #46205B
triadic
#28205B #5B2820 #205B28
tetradic
#28205B #5B2036 #535B20 #205B46
square
#28205B #5B2036 #535B20 #205B46
split-complementary
#28205B #5B4620 #365B20
monochromatic
#0A0817 #14102E #28205B #3C3088 #5040B6

Accessibility & contrast

On white

14.50
#28205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#28205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28205B
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28205B#FFFFFF#000000##FFFFFF
##28205B1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#142E3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #28205b;
/* rgb */ color: rgb(40, 32, 91);
/* oklch */ color: oklch(29.1% 0.102 284.3);
Tailwind
colors: {
  custom: {
    50: '#675c8a',
    500: '#28205b',
    950: '#000000',
  },
}
SCSS
$custom: #28205b;
$custom-light: #675c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#28205b",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 248.136,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29095,
    "c": 0.1015,
    "h": 284.3
  },
  "luminance": 0.02239
}

Semantic roles & 50–950 ramp

primary
#28205B
secondary
#868F47
accent
#D850C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #28205B

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

Preview Lab → · Contrast checker → · Palette generator →

#28205B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva