#28205C#28205C

#28205C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.103 H 284.1°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#28205C
RGBrgb(40, 32, 92)
HSLhsl(248, 48%, 24%)
HSVhsv(248, 65%, 36%)
CMYKcmyk(56.5%, 65.2%, 0%, 63.9%)
CIE-LABlab(16.78, 22.19, -34.86)
CIE-LCHlch(16.78, 41.32, 302.49°)
OKLaboklab(29.18% 0.025 -0.0999)
OKLCHoklch(29.18% 0.103 284.1)
XYZxyz(3.3228, 2.2567, 10.3836)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28205C #545C20
analogous
#20365C #28205C #46205C
triadic
#28205C #5C2820 #205C28
tetradic
#28205C #5C2036 #545C20 #205C46
square
#28205C #5C2036 #545C20 #205C46
split-complementary
#28205C #5C4620 #365C20
monochromatic
#0A0817 #14102F #28205C #3C3089 #4F40B7

Accessibility & contrast

On white

14.47
#28205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28205C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28205C#FFFFFF#000000##FFFFFF
##28205C1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#132E3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #28205c;
/* rgb */ color: rgb(40, 32, 92);
/* oklch */ color: oklch(29.2% 0.103 284.1);
Tailwind
colors: {
  custom: {
    50: '#675c8b',
    500: '#28205c',
    950: '#000000',
  },
}
SCSS
$custom: #28205c;
$custom-light: #675c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#28205c",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 248,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29184,
    "c": 0.103,
    "h": 284.1
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#28205C
secondary
#879047
accent
#D850C6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #28205C

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

Preview Lab → · Contrast checker → · Palette generator →

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