#28296D#28296D

#28296D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.115 H 277.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#28296D
RGBrgb(40, 41, 109)
HSLhsl(239, 46%, 29%)
HSVhsv(239, 63%, 43%)
CMYKcmyk(63.3%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.60, 22.15, -39.82)
CIE-LCHlch(20.60, 45.56, 299.08°)
OKLaboklab(32.45% 0.0144 -0.1144)
OKLCHoklch(32.45% 0.115 277.2)
XYZxyz(4.4274, 3.1408, 14.8380)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28296D #6D6C28
analogous
#284C6D #28296D #4A286D
triadic
#28296D #6D2829 #296D28
tetradic
#28296D #6D284C #6D6C28 #286D4A
square
#28296D #6D284C #6D6C28 #286D4A
split-complementary
#28296D #6D4A28 #4C6D28
monochromatic
#080816 #181840 #28296D #383A9A #5052BF

Accessibility & contrast

On white

12.90
#28296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#28296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28296D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28296D#FFFFFF#000000##FFFFFF
##28296D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28296d;
/* rgb */ color: rgb(40, 41, 109);
/* oklch */ color: oklch(32.4% 0.115 277.2);
Tailwind
colors: {
  custom: {
    50: '#6a6297',
    500: '#28296d',
    950: '#000000',
  },
}
SCSS
$custom: #28296d;
$custom-light: #6a6297;
$custom-dark: #000000;
JSON
{
  "hex": "#28296d",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 239.13,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32445,
    "c": 0.11535,
    "h": 277.2
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#28296D
secondary
#9F9E51
accent
#D452D6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #28296D

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

Preview Lab → · Contrast checker → · Palette generator →

#28296D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva