#28206B#28206B

#28206B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.125 H 280.9°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#28206B
RGBrgb(40, 32, 107)
HSLhsl(246, 54%, 27%)
HSVhsv(246, 70%, 42%)
CMYKcmyk(62.6%, 70.1%, 0%, 58%)
CIE-LABlab(18.12, 27.48, -42.56)
CIE-LCHlch(18.12, 50.66, 302.85°)
OKLaboklab(30.58% 0.0235 -0.1225)
OKLCHoklch(30.58% 0.125 280.9)
XYZxyz(4.0446, 2.5454, 14.1852)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28206B #636B20
analogous
#203E6B #28206B #4E206B
triadic
#28206B #6B2820 #206B28
tetradic
#28206B #6B203E #636B20 #206B4E
square
#28206B #6B203E #636B20 #206B4E
split-complementary
#28206B #6B4E20 #3E6B20
monochromatic
#090718 #16123C #28206B #3A2E9A #4E40C6

Accessibility & contrast

On white

13.91
#28206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#28206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28206B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28206B#FFFFFF#000000##FFFFFF
##28206B1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #28206b;
/* rgb */ color: rgb(40, 32, 107);
/* oklch */ color: oklch(30.6% 0.125 280.9);
Tailwind
colors: {
  custom: {
    50: '#6a5c96',
    500: '#28206b',
    950: '#000000',
  },
}
SCSS
$custom: #28206b;
$custom-light: #6a5c96;
$custom-dark: #000000;
JSON
{
  "hex": "#28206b",
  "rgb": {
    "r": 40,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 246.4,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.12477,
    "h": 280.9
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#28206B
secondary
#969F48
accent
#DD4ACE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #28206B

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

Preview Lab → · Contrast checker → · Palette generator →

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