#28379B#28379B

#28379B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.162 H 270.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#28379B
RGBrgb(40, 55, 155)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 74%, 61%)
CMYKcmyk(74.2%, 64.5%, 0%, 39.2%)
CIE-LABlab(28.25, 29.82, -56.19)
CIE-LCHlch(28.25, 63.62, 297.95°)
OKLaboklab(39.32% 0.0009 -0.1624)
OKLCHoklch(39.32% 0.162 270.3)
XYZxyz(8.1556, 5.5492, 31.6453)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28379B #9B8C28
analogous
#28709B #28379B #52289B
triadic
#28379B #9B2837 #379B28
tetradic
#28379B #9B2870 #9B8C28 #289B52
square
#28379B #9B2870 #9B8C28 #289B52
split-complementary
#28379B #9B5228 #709B28
monochromatic
#0F143A #1B266A #28379B #3549CB #6675D7

Accessibility & contrast

On white

9.95
#28379B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#28379B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28379B
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28379B#FFFFFF#000000##FFFFFF
##28379B1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #28379b;
/* rgb */ color: rgb(40, 55, 155);
/* oklch */ color: oklch(39.3% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#736db9',
    500: '#28379b',
    950: '#000000',
  },
}
SCSS
$custom: #28379b;
$custom-light: #736db9;
$custom-dark: #000000;
JSON
{
  "hex": "#28379b",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 232.174,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39325,
    "c": 0.16239,
    "h": 270.3
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#28379B
secondary
#BDB161
accent
#CE46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28379B

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

Preview Lab → · Contrast checker → · Palette generator →

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