#28327B#28327B

#28327B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.124 H 272.5°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#28327B
RGBrgb(40, 50, 123)
HSLhsl(233, 51%, 32%)
HSVhsv(233, 67%, 48%)
CMYKcmyk(67.5%, 59.3%, 0%, 51.8%)
CIE-LABlab(24.20, 21.17, -42.93)
CIE-LCHlch(24.20, 47.86, 296.24°)
OKLaboklab(35.48% 0.0055 -0.1235)
OKLCHoklch(35.48% 0.124 272.5)
XYZxyz(5.5896, 4.1619, 19.2438)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28327B #7B7128
analogous
#285C7B #28327B #48287B
triadic
#28327B #7B2832 #327B28
tetradic
#28327B #7B285C #7B7128 #287B48
square
#28327B #7B285C #7B7128 #287B48
split-complementary
#28327B #7B4828 #5C7B28
monochromatic
#0A0C1F #191F4D #28327B #3745A9 #5663C8

Accessibility & contrast

On white

11.46
#28327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#28327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28327B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28327B#FFFFFF#000000##FFFFFF
##28327B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28327b;
/* rgb */ color: rgb(40, 50, 123);
/* oklch */ color: oklch(35.5% 0.124 272.5);
Tailwind
colors: {
  custom: {
    50: '#6c69a2',
    500: '#28327b',
    950: '#000000',
  },
}
SCSS
$custom: #28327b;
$custom-light: #6c69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#28327b",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 232.771,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3548,
    "c": 0.12361,
    "h": 272.5
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#28327B
secondary
#ADA252
accent
#C94DDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #28327B

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

Preview Lab → · Contrast checker → · Palette generator →

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