#28326E#28326E

#28326E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.104 H 272.6°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#28326E
RGBrgb(40, 50, 110)
HSLhsl(231, 47%, 29%)
HSVhsv(231, 64%, 43%)
CMYKcmyk(63.6%, 54.5%, 0%, 56.9%)
CIE-LABlab(23.20, 16.24, -36.26)
CIE-LCHlch(23.20, 39.73, 294.13°)
OKLaboklab(34.41% 0.0048 -0.1039)
OKLCHoklch(34.41% 0.104 272.6)
XYZxyz(4.8292, 3.8577, 15.2390)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28326E #6E6428
analogous
#28556E #28326E #41286E
triadic
#28326E #6E2832 #326E28
tetradic
#28326E #6E2855 #6E6428 #286E41
square
#28326E #6E2855 #6E6428 #286E41
split-complementary
#28326E #6E4128 #556E28
monochromatic
#080A16 #181E41 #28326E #38469B #5161C0

Accessibility & contrast

On white

11.85
#28326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#28326E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28326E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28326E#FFFFFF#000000##FFFFFF
##28326E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28326e;
/* rgb */ color: rgb(40, 50, 110);
/* oklch */ color: oklch(34.4% 0.104 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a6998',
    500: '#28326e',
    950: '#000000',
  },
}
SCSS
$custom: #28326e;
$custom-light: #6a6998;
$custom-dark: #000000;
JSON
{
  "hex": "#28326e",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 231.429,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.10399,
    "h": 272.6
  },
  "luminance": 0.03858
}

Semantic roles & 50–950 ramp

primary
#28326E
secondary
#A09551
accent
#C351D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #28326E

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

Preview Lab → · Contrast checker → · Palette generator →

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