#28205E#28205E

#28205E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.4% C 0.106 H 283.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#28205E
RGBrgb(40, 32, 94)
HSLhsl(248, 49%, 25%)
HSVhsv(248, 66%, 37%)
CMYKcmyk(57.4%, 66%, 0%, 63.1%)
CIE-LABlab(16.95, 22.90, -35.91)
CIE-LCHlch(16.95, 42.59, 302.52°)
OKLaboklab(29.36% 0.0249 -0.103)
OKLCHoklch(29.36% 0.106 283.6)
XYZxyz(3.4113, 2.2921, 10.8502)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28205E #565E20
analogous
#20375E #28205E #47205E
triadic
#28205E #5E2820 #205E28
tetradic
#28205E #5E2037 #565E20 #205E47
square
#28205E #5E2037 #565E20 #205E47
split-complementary
#28205E #5E4720 #375E20
monochromatic
#0A0817 #151030 #28205E #3B308C #4F3FB9

Accessibility & contrast

On white

14.40
#28205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#28205E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28205E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28205E#FFFFFF#000000##FFFFFF
##28205E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#112F3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #28205e;
/* rgb */ color: rgb(40, 32, 94);
/* oklch */ color: oklch(29.4% 0.106 283.6);
Tailwind
colors: {
  custom: {
    50: '#685c8c',
    500: '#28205e',
    950: '#000000',
  },
}
SCSS
$custom: #28205e;
$custom-light: #685c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#28205e",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 247.742,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29362,
    "c": 0.10598,
    "h": 283.6
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#28205E
secondary
#899247
accent
#D94FC7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #28205E

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

Preview Lab → · Contrast checker → · Palette generator →

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