#28326B#28326B

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

Color values

HEX#28326B
RGBrgb(40, 50, 107)
HSLhsl(231, 46%, 29%)
HSVhsv(231, 63%, 42%)
CMYKcmyk(62.6%, 53.3%, 0%, 58%)
CIE-LABlab(22.98, 15.11, -34.68)
CIE-LCHlch(22.98, 37.83, 293.54°)
OKLaboklab(34.17% 0.0045 -0.0992)
OKLCHoklch(34.17% 0.099 272.6)
XYZxyz(4.6686, 3.7935, 14.3933)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28326B #6B6128
analogous
#28546B #28326B #40286B
triadic
#28326B #6B2832 #326B28
tetradic
#28326B #6B2854 #6B6128 #286B40
square
#28326B #6B2854 #6B6128 #286B40
split-complementary
#28326B #6B4028 #546B28
monochromatic
#080A16 #171D3E #28326B #394798 #5060BE

Accessibility & contrast

On white

11.94
#28326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28326B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28326B#FFFFFF#000000##FFFFFF
##28326B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6D
Deuteranopia (green-blind)
#06346A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #28326b;
/* rgb */ color: rgb(40, 50, 107);
/* oklch */ color: oklch(34.2% 0.099 272.6);
Tailwind
colors: {
  custom: {
    50: '#696996',
    500: '#28326b',
    950: '#000000',
  },
}
SCSS
$custom: #28326b;
$custom-light: #696996;
$custom-dark: #000000;
JSON
{
  "hex": "#28326b",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 231.045,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34174,
    "c": 0.09933,
    "h": 272.6
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#28326B
secondary
#9D9251
accent
#C253D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #28326B

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

Preview Lab → · Contrast checker → · Palette generator →

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