#28296A#28296A

#28296A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.111 H 277.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#28296A
RGBrgb(40, 41, 106)
HSLhsl(239, 45%, 29%)
HSVhsv(239, 62%, 42%)
CMYKcmyk(62.3%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.35, 21.04, -38.28)
CIE-LCHlch(20.35, 43.68, 298.80°)
OKLaboklab(32.18% 0.0145 -0.1099)
OKLCHoklch(32.18% 0.111 277.5)
XYZxyz(4.2687, 3.0773, 14.0019)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28296A #6A6928
analogous
#284A6A #28296A #48286A
triadic
#28296A #6A2829 #296A28
tetradic
#28296A #6A284A #6A6928 #286A48
square
#28296A #6A284A #6A6928 #286A48
split-complementary
#28296A #6A4828 #4A6A28
monochromatic
#080916 #17183E #28296A #393A96 #5051BD

Accessibility & contrast

On white

13.00
#28296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#28296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28296A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28296A#FFFFFF#000000##FFFFFF
##28296A1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #28296a;
/* rgb */ color: rgb(40, 41, 106);
/* oklch */ color: oklch(32.2% 0.111 277.5);
Tailwind
colors: {
  custom: {
    50: '#696295',
    500: '#28296a',
    950: '#000000',
  },
}
SCSS
$custom: #28296a;
$custom-light: #696295;
$custom-dark: #000000;
JSON
{
  "hex": "#28296a",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 239.091,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32183,
    "c": 0.11086,
    "h": 277.5
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#28296A
secondary
#9D9B51
accent
#D353D5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #28296A

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

Preview Lab → · Contrast checker → · Palette generator →

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