#28379E#28379E

#28379E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.166 H 270.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#28379E
RGBrgb(40, 55, 158)
HSLhsl(232, 60%, 39%)
HSVhsv(232, 75%, 62%)
CMYKcmyk(74.7%, 65.2%, 0%, 38%)
CIE-LABlab(28.51, 30.94, -57.58)
CIE-LCHlch(28.51, 65.36, 298.25°)
OKLaboklab(39.61% 0.0008 -0.1664)
OKLCHoklch(39.61% 0.166 270.3)
XYZxyz(8.4107, 5.6512, 32.9887)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28379E #9E8F28
analogous
#28729E #28379E #54289E
triadic
#28379E #9E2837 #379E28
tetradic
#28379E #9E2872 #9E8F28 #289E54
square
#28379E #9E2872 #9E8F28 #289E54
split-complementary
#28379E #9E5428 #729E28
monochromatic
#0F153C #1C266D #28379E #374ACC #6876D9

Accessibility & contrast

On white

9.86
#28379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#28379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28379E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28379E#FFFFFF#000000##FFFFFF
##28379E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #28379e;
/* rgb */ color: rgb(40, 55, 158);
/* oklch */ color: oklch(39.6% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#746ebc',
    500: '#28379e',
    950: '#000000',
  },
}
SCSS
$custom: #28379e;
$custom-light: #746ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#28379e",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 232.373,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39606,
    "c": 0.16644,
    "h": 270.3
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#28379E
secondary
#BFB363
accent
#CF45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #28379E

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

Preview Lab → · Contrast checker → · Palette generator →

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