#28419E#28419E

#28419E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.154 H 267.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#28419E
RGBrgb(40, 65, 158)
HSLhsl(227, 60%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.7%, 58.9%, 0%, 38%)
CIE-LABlab(31.11, 24.27, -53.34)
CIE-LCHlch(31.11, 58.60, 294.47°)
OKLaboklab(41.53% -0.0063 -0.1539)
OKLCHoklch(41.53% 0.154 267.6)
XYZxyz(8.9348, 6.6994, 33.1633)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419E #9E8528
analogous
#287C9E #28419E #4A289E
triadic
#28419E #9E2841 #419E28
tetradic
#28419E #9E287C #9E8528 #289E4A
square
#28419E #9E287C #9E8528 #289E4A
split-complementary
#28419E #9E4A28 #7C9E28
monochromatic
#0F193C #1C2D6D #28419E #3757CC #6880D9

Accessibility & contrast

On white

8.97
#28419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#28419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28419E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419E#FFFFFF#000000##FFFFFF
##28419E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28419e;
/* rgb */ color: rgb(40, 65, 158);
/* oklch */ color: oklch(41.5% 0.154 267.6);
Tailwind
colors: {
  custom: {
    50: '#7375bb',
    500: '#28419e',
    950: '#000000',
  },
}
SCSS
$custom: #28419e;
$custom-light: #7375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28419e",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 227.288,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4153,
    "c": 0.15401,
    "h": 267.6
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#28419E
secondary
#BFAB63
accent
#C145E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28419E

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

Preview Lab → · Contrast checker → · Palette generator →

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