#28286E#28286E

#28286E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.118 H 277.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#28286E
RGBrgb(40, 40, 110)
HSLhsl(240, 47%, 29%)
HSVhsv(240, 64%, 43%)
CMYKcmyk(63.6%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.42, 23.20, -40.76)
CIE-LCHlch(20.42, 46.90, 299.65°)
OKLaboklab(32.34% 0.0154 -0.1172)
OKLCHoklch(32.34% 0.118 277.5)
XYZxyz(4.4474, 3.0942, 15.1117)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28286E #6E6E28
analogous
#284B6E #28286E #4B286E
triadic
#28286E #6E2828 #286E28
tetradic
#28286E #6E284B #6E6E28 #286E4B
square
#28286E #6E284B #6E6E28 #286E4B
split-complementary
#28286E #6E4B28 #4B6E28
monochromatic
#080816 #181841 #28286E #38389B #5151C0

Accessibility & contrast

On white

12.97
#28286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#28286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28286E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28286E#FFFFFF#000000##FFFFFF
##28286E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28286e;
/* rgb */ color: rgb(40, 40, 110);
/* oklch */ color: oklch(32.3% 0.118 277.5);
Tailwind
colors: {
  custom: {
    50: '#6a6298',
    500: '#28286e',
    950: '#000000',
  },
}
SCSS
$custom: #28286e;
$custom-light: #6a6298;
$custom-dark: #000000;
JSON
{
  "hex": "#28286e",
  "rgb": {
    "r": 40,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 240,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.11823,
    "h": 277.5
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#28286E
secondary
#A0A051
accent
#D651D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #28286E

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

Preview Lab → · Contrast checker → · Palette generator →

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