#28419D#28419D

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

Color values

HEX#28419D
RGBrgb(40, 65, 157)
HSLhsl(227, 59%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.5%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.03, 23.89, -52.86)
CIE-LCHlch(31.03, 58.01, 294.32°)
OKLaboklab(41.45% -0.0064 -0.1525)
OKLCHoklch(41.45% 0.153 267.6)
XYZxyz(8.8491, 6.6651, 32.7119)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419D #9D8428
analogous
#287B9D #28419D #49289D
triadic
#28419D #9D2841 #419D28
tetradic
#28419D #9D287B #9D8428 #289D49
square
#28419D #9D287B #9D8428 #289D49
split-complementary
#28419D #9D4928 #7B9D28
monochromatic
#0F193B #1C2D6C #28419D #3656CC #677FD8

Accessibility & contrast

On white

9.00
#28419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#28419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28419D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419D#FFFFFF#000000##FFFFFF
##28419D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28419d;
/* rgb */ color: rgb(40, 65, 157);
/* oklch */ color: oklch(41.4% 0.153 267.6);
Tailwind
colors: {
  custom: {
    50: '#7375bb',
    500: '#28419d',
    950: '#000000',
  },
}
SCSS
$custom: #28419d;
$custom-light: #7375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28419d",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 227.179,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.15262,
    "h": 267.6
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#28419D
secondary
#BEAB62
accent
#C145E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28419D

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

Preview Lab → · Contrast checker → · Palette generator →

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