#28326F#28326F

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

Color values

HEX#28326F
RGBrgb(40, 50, 111)
HSLhsl(232, 47%, 30%)
HSVhsv(232, 64%, 44%)
CMYKcmyk(64%, 55%, 0%, 56.5%)
CIE-LABlab(23.27, 16.62, -36.78)
CIE-LCHlch(23.27, 40.37, 294.32°)
OKLaboklab(34.49% 0.0049 -0.1054)
OKLCHoklch(34.49% 0.106 272.6)
XYZxyz(4.8840, 3.8796, 15.5273)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28326F #6F6528
analogous
#28566F #28326F #41286F
triadic
#28326F #6F2832 #326F28
tetradic
#28326F #6F2856 #6F6528 #286F41
square
#28326F #6F2856 #6F6528 #286F41
split-complementary
#28326F #6F4128 #566F28
monochromatic
#080A16 #181E42 #28326F #38469C #5161C0

Accessibility & contrast

On white

11.82
#28326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#28326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28326F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28326F#FFFFFF#000000##FFFFFF
##28326F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28326f;
/* rgb */ color: rgb(40, 50, 111);
/* oklch */ color: oklch(34.5% 0.106 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a6999',
    500: '#28326f',
    950: '#000000',
  },
}
SCSS
$custom: #28326f;
$custom-light: #6a6999;
$custom-dark: #000000;
JSON
{
  "hex": "#28326f",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 231.549,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34488,
    "c": 0.10553,
    "h": 272.6
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#28326F
secondary
#A19651
accent
#C451D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #28326F

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

Preview Lab → · Contrast checker → · Palette generator →

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