#28326A#28326A

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

Color values

HEX#28326A
RGBrgb(40, 50, 106)
HSLhsl(231, 45%, 29%)
HSVhsv(231, 62%, 42%)
CMYKcmyk(62.3%, 52.8%, 0%, 58.4%)
CIE-LABlab(22.91, 14.73, -34.15)
CIE-LCHlch(22.91, 37.19, 293.34°)
OKLaboklab(34.1% 0.0044 -0.0977)
OKLCHoklch(34.1% 0.098 272.6)
XYZxyz(4.6163, 3.7726, 14.1178)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28326A #6A6028
analogous
#28536A #28326A #3F286A
triadic
#28326A #6A2832 #326A28
tetradic
#28326A #6A2853 #6A6028 #286A3F
square
#28326A #6A2853 #6A6028 #286A3F
split-complementary
#28326A #6A3F28 #536A28
monochromatic
#080A16 #171D3E #28326A #394796 #5060BD

Accessibility & contrast

On white

11.97
#28326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#28326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28326A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28326A#FFFFFF#000000##FFFFFF
##28326A1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#083469
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28326a;
/* rgb */ color: rgb(40, 50, 106);
/* oklch */ color: oklch(34.1% 0.098 272.6);
Tailwind
colors: {
  custom: {
    50: '#696995',
    500: '#28326a',
    950: '#000000',
  },
}
SCSS
$custom: #28326a;
$custom-light: #696995;
$custom-dark: #000000;
JSON
{
  "hex": "#28326a",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 230.909,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34096,
    "c": 0.09777,
    "h": 272.6
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#28326A
secondary
#9D9151
accent
#C153D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #28326A

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

Preview Lab → · Contrast checker → · Palette generator →

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