#28327C#28327C

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

Color values

HEX#28327C
RGBrgb(40, 50, 124)
HSLhsl(233, 51%, 32%)
HSVhsv(233, 68%, 49%)
CMYKcmyk(67.7%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.28, 21.54, -43.43)
CIE-LCHlch(24.28, 48.48, 296.38°)
OKLaboklab(35.57% 0.0055 -0.125)
OKLCHoklch(35.57% 0.125 272.5)
XYZxyz(5.6525, 4.1871, 19.5752)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28327C #7C7228
analogous
#285C7C #28327C #48287C
triadic
#28327C #7C2832 #327C28
tetradic
#28327C #7C285C #7C7228 #287C48
square
#28327C #7C285C #7C7228 #287C48
split-complementary
#28327C #7C4828 #5C7C28
monochromatic
#0A0D1F #191F4E #28327C #3745AA #5664C8

Accessibility & contrast

On white

11.43
#28327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#28327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28327C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28327C#FFFFFF#000000##FFFFFF
##28327C1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #28327c;
/* rgb */ color: rgb(40, 50, 124);
/* oklch */ color: oklch(35.6% 0.125 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d69a3',
    500: '#28327c',
    950: '#000000',
  },
}
SCSS
$custom: #28327c;
$custom-light: #6d69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28327c",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 232.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.12509,
    "h": 272.5
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#28327C
secondary
#ADA352
accent
#CA4DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #28327C

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

Preview Lab → · Contrast checker → · Palette generator →

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