#28296E#28296E

#28296E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.117 H 277.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#28296E
RGBrgb(40, 41, 110)
HSLhsl(239, 47%, 29%)
HSVhsv(239, 64%, 43%)
CMYKcmyk(63.6%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.68, 22.52, -40.33)
CIE-LCHlch(20.68, 46.19, 299.18°)
OKLaboklab(32.53% 0.0144 -0.1159)
OKLCHoklch(32.53% 0.117 277.1)
XYZxyz(4.4816, 3.1624, 15.1231)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28296E #6E6D28
analogous
#284C6E #28296E #4A286E
triadic
#28296E #6E2829 #296E28
tetradic
#28296E #6E284C #6E6D28 #286E4A
square
#28296E #6E284C #6E6D28 #286E4A
split-complementary
#28296E #6E4A28 #4C6E28
monochromatic
#080816 #181841 #28296E #383A9B #5152C0

Accessibility & contrast

On white

12.86
#28296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28296E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28296E#FFFFFF#000000##FFFFFF
##28296E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #28296e;
/* rgb */ color: rgb(40, 41, 110);
/* oklch */ color: oklch(32.5% 0.117 277.1);
Tailwind
colors: {
  custom: {
    50: '#6a6298',
    500: '#28296e',
    950: '#000000',
  },
}
SCSS
$custom: #28296e;
$custom-light: #6a6298;
$custom-dark: #000000;
JSON
{
  "hex": "#28296e",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 239.143,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32534,
    "c": 0.11683,
    "h": 277.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#28296E
secondary
#A09F51
accent
#D451D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #28296E

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

Preview Lab → · Contrast checker → · Palette generator →

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