#28296F#28296F

#28296F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.118 H 277.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#28296F
RGBrgb(40, 41, 111)
HSLhsl(239, 47%, 30%)
HSVhsv(239, 64%, 44%)
CMYKcmyk(64%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.77, 22.89, -40.84)
CIE-LCHlch(20.77, 46.81, 299.27°)
OKLaboklab(32.62% 0.0144 -0.1174)
OKLCHoklch(32.62% 0.118 277)
XYZxyz(4.5363, 3.1843, 15.4114)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28296F #6F6E28
analogous
#284D6F #28296F #4B286F
triadic
#28296F #6F2829 #296F28
tetradic
#28296F #6F284D #6F6E28 #286F4B
square
#28296F #6F284D #6F6E28 #286F4B
split-complementary
#28296F #6F4B28 #4D6F28
monochromatic
#080816 #181842 #28296F #383A9C #5153C0

Accessibility & contrast

On white

12.83
#28296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#28296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28296F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28296F#FFFFFF#000000##FFFFFF
##28296F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28296f;
/* rgb */ color: rgb(40, 41, 111);
/* oklch */ color: oklch(32.6% 0.118 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a6299',
    500: '#28296f',
    950: '#000000',
  },
}
SCSS
$custom: #28296f;
$custom-light: #6a6299;
$custom-dark: #000000;
JSON
{
  "hex": "#28296f",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 239.155,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.11832,
    "h": 277
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#28296F
secondary
#A1A051
accent
#D551D7
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #28296F

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

Preview Lab → · Contrast checker → · Palette generator →

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