#28327A#28327A

#28327A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.122 H 272.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#28327A
RGBrgb(40, 50, 122)
HSLhsl(233, 51%, 32%)
HSVhsv(233, 67%, 48%)
CMYKcmyk(67.2%, 59%, 0%, 52.2%)
CIE-LABlab(24.12, 20.79, -42.43)
CIE-LCHlch(24.12, 47.24, 296.10°)
OKLaboklab(35.39% 0.0055 -0.122)
OKLCHoklch(35.39% 0.122 272.6)
XYZxyz(5.5274, 4.1370, 18.9158)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28327A #7A7028
analogous
#285B7A #28327A #47287A
triadic
#28327A #7A2832 #327A28
tetradic
#28327A #7A285B #7A7028 #287A47
square
#28327A #7A285B #7A7028 #287A47
split-complementary
#28327A #7A4728 #5B7A28
monochromatic
#0A0C1E #191F4C #28327A #3745A8 #5563C7

Accessibility & contrast

On white

11.49
#28327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28327A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28327A#FFFFFF#000000##FFFFFF
##28327A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28327a;
/* rgb */ color: rgb(40, 50, 122);
/* oklch */ color: oklch(35.4% 0.122 272.6);
Tailwind
colors: {
  custom: {
    50: '#6c69a1',
    500: '#28327a',
    950: '#000000',
  },
}
SCSS
$custom: #28327a;
$custom-light: #6c69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28327a",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 232.683,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35395,
    "c": 0.12214,
    "h": 272.6
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#28327A
secondary
#ACA152
accent
#C94EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #28327A

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

Preview Lab → · Contrast checker → · Palette generator →

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