#28326C#28326C

#28326C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.101 H 272.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#28326C
RGBrgb(40, 50, 108)
HSLhsl(231, 46%, 29%)
HSVhsv(231, 63%, 42%)
CMYKcmyk(63%, 53.7%, 0%, 57.6%)
CIE-LABlab(23.05, 15.49, -35.21)
CIE-LCHlch(23.05, 38.46, 293.74°)
OKLaboklab(34.25% 0.0046 -0.1008)
OKLCHoklch(34.25% 0.101 272.6)
XYZxyz(4.7216, 3.8147, 14.6719)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28326C #6C6228
analogous
#28546C #28326C #40286C
triadic
#28326C #6C2832 #326C28
tetradic
#28326C #6C2854 #6C6228 #286C40
square
#28326C #6C2854 #6C6228 #286C40
split-complementary
#28326C #6C4028 #546C28
monochromatic
#080A16 #171D3F #28326C #394799 #5060BE

Accessibility & contrast

On white

11.91
#28326C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#28326C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28326C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28326C#FFFFFF#000000##FFFFFF
##28326C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123A6E
Deuteranopia (green-blind)
#03346B
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28326c;
/* rgb */ color: rgb(40, 50, 108);
/* oklch */ color: oklch(34.3% 0.101 272.6);
Tailwind
colors: {
  custom: {
    50: '#696996',
    500: '#28326c',
    950: '#000000',
  },
}
SCSS
$custom: #28326c;
$custom-light: #696996;
$custom-dark: #000000;
JSON
{
  "hex": "#28326c",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 231.176,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34251,
    "c": 0.10088,
    "h": 272.6
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#28326C
secondary
#9E9351
accent
#C252D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #28326C

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

Preview Lab → · Contrast checker → · Palette generator →

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