#28205A#28205A

#28205A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 29.0% C 0.100 H 284.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#28205A
RGBrgb(40, 32, 90)
HSLhsl(248, 48%, 24%)
HSVhsv(248, 64%, 35%)
CMYKcmyk(55.6%, 64.4%, 0%, 64.7%)
CIE-LABlab(16.61, 21.49, -33.79)
CIE-LCHlch(16.61, 40.05, 302.45°)
OKLaboklab(29.01% 0.0251 -0.0968)
OKLCHoklch(29.01% 0.1 284.6)
XYZxyz(3.2365, 2.2222, 9.9293)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28205A #525A20
analogous
#20355A #28205A #45205A
triadic
#28205A #5A2820 #205A28
tetradic
#28205A #5A2035 #525A20 #205A45
square
#28205A #5A2035 #525A20 #205A45
split-complementary
#28205A #5A4520 #355A20
monochromatic
#0A0817 #14102D #28205A #3C3087 #5040B4

Accessibility & contrast

On white

14.54
#28205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#28205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28205A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28205A#FFFFFF#000000##FFFFFF
##28205A1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#152E39
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #28205a;
/* rgb */ color: rgb(40, 32, 90);
/* oklch */ color: oklch(29.0% 0.100 284.6);
Tailwind
colors: {
  custom: {
    50: '#675b89',
    500: '#28205a',
    950: '#000000',
  },
}
SCSS
$custom: #28205a;
$custom-light: #675b89;
$custom-dark: #000000;
JSON
{
  "hex": "#28205a",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 248.276,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29007,
    "c": 0.09999,
    "h": 284.6
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#28205A
secondary
#858E47
accent
#D751C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #28205A

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

Preview Lab → · Contrast checker → · Palette generator →

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