#28327D#28327D

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

Color values

HEX#28327D
RGBrgb(40, 50, 125)
HSLhsl(233, 52%, 32%)
HSVhsv(233, 68%, 49%)
CMYKcmyk(68%, 60%, 0%, 51%)
CIE-LABlab(24.36, 21.92, -43.93)
CIE-LCHlch(24.36, 49.09, 296.52°)
OKLaboklab(35.65% 0.0055 -0.1264)
OKLCHoklch(35.65% 0.127 272.5)
XYZxyz(5.7161, 4.2125, 19.9099)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28327D #7D7328
analogous
#285D7D #28327D #48287D
triadic
#28327D #7D2832 #327D28
tetradic
#28327D #7D285D #7D7328 #287D48
square
#28327D #7D285D #7D7328 #287D48
split-complementary
#28327D #7D4828 #5D7D28
monochromatic
#0A0D20 #191F4F #28327D #3745AB #5664C9

Accessibility & contrast

On white

11.40
#28327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28327D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28327D#FFFFFF#000000##FFFFFF
##28327D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28327d;
/* rgb */ color: rgb(40, 50, 125);
/* oklch */ color: oklch(35.7% 0.127 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d69a3',
    500: '#28327d',
    950: '#000000',
  },
}
SCSS
$custom: #28327d;
$custom-light: #6d69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28327d",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 232.941,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.12656,
    "h": 272.5
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #28327D

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

Preview Lab → · Contrast checker → · Palette generator →

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