#28419F#28419F

#28419F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.155 H 267.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#28419F
RGBrgb(40, 65, 159)
HSLhsl(227, 60%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.8%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.19, 24.66, -53.81)
CIE-LCHlch(31.19, 59.19, 294.62°)
OKLaboklab(41.62% -0.0063 -0.1553)
OKLCHoklch(41.62% 0.155 267.7)
XYZxyz(9.0212, 6.7339, 33.6185)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419F #9F8628
analogous
#287D9F #28419F #4B289F
triadic
#28419F #9F2841 #419F28
tetradic
#28419F #9F287D #9F8628 #289F4B
square
#28419F #9F287D #9F8628 #289F4B
split-complementary
#28419F #9F4B28 #7D9F28
monochromatic
#0F193D #1C2D6E #28419F #3757CD #6880D9

Accessibility & contrast

On white

8.95
#28419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#28419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28419F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419F#FFFFFF#000000##FFFFFF
##28419F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28419f;
/* rgb */ color: rgb(40, 65, 159);
/* oklch */ color: oklch(41.6% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#7475bc',
    500: '#28419f',
    950: '#000000',
  },
}
SCSS
$custom: #28419f;
$custom-light: #7475bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28419f",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 227.395,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.1554,
    "h": 267.7
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#28419F
secondary
#BFAC64
accent
#C245E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28419F

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

Preview Lab → · Contrast checker → · Palette generator →

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