#28286A#28286A

#28286A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.112 H 278.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#28286A
RGBrgb(40, 40, 106)
HSLhsl(240, 45%, 29%)
HSVhsv(240, 62%, 42%)
CMYKcmyk(62.3%, 62.3%, 0%, 58.4%)
CIE-LABlab(20.08, 21.74, -38.72)
CIE-LCHlch(20.08, 44.40, 299.31°)
OKLaboklab(31.98% 0.0156 -0.1112)
OKLCHoklch(31.98% 0.112 278)
XYZxyz(4.2346, 3.0090, 13.9905)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28286A #6A6A28
analogous
#28496A #28286A #49286A
triadic
#28286A #6A2828 #286A28
tetradic
#28286A #6A2849 #6A6A28 #286A49
square
#28286A #6A2849 #6A6A28 #286A49
split-complementary
#28286A #6A4928 #496A28
monochromatic
#080816 #17173E #28286A #393996 #5050BD

Accessibility & contrast

On white

13.11
#28286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#28286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28286A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28286A#FFFFFF#000000##FFFFFF
##28286A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #28286a;
/* rgb */ color: rgb(40, 40, 106);
/* oklch */ color: oklch(32.0% 0.112 278.0);
Tailwind
colors: {
  custom: {
    50: '#696295',
    500: '#28286a',
    950: '#000000',
  },
}
SCSS
$custom: #28286a;
$custom-light: #696295;
$custom-dark: #000000;
JSON
{
  "hex": "#28286a",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31983,
    "c": 0.11229,
    "h": 278
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#28286A
secondary
#9D9D51
accent
#D553D5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #28286A

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

Preview Lab → · Contrast checker → · Palette generator →

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