#28419A#28419A

#28419A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.148 H 267.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#28419A
RGBrgb(40, 65, 154)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 60%)
CMYKcmyk(74%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.79, 22.74, -51.43)
CIE-LCHlch(30.79, 56.23, 293.86°)
OKLaboklab(41.19% -0.0065 -0.1483)
OKLCHoklch(41.19% 0.148 267.5)
XYZxyz(8.5961, 6.5639, 31.3795)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419A #9A8128
analogous
#287A9A #28419A #48289A
triadic
#28419A #9A2841 #419A28
tetradic
#28419A #9A287A #9A8128 #289A48
square
#28419A #9A287A #9A8128 #289A48
split-complementary
#28419A #9A4828 #7A9A28
monochromatic
#0F1839 #1B2C69 #28419A #3556CA #657ED7

Accessibility & contrast

On white

9.08
#28419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#28419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28419A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419A#FFFFFF#000000##FFFFFF
##28419A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28419a;
/* rgb */ color: rgb(40, 65, 154);
/* oklch */ color: oklch(41.2% 0.148 267.5);
Tailwind
colors: {
  custom: {
    50: '#7275b8',
    500: '#28419a',
    950: '#000000',
  },
}
SCSS
$custom: #28419a;
$custom-light: #7275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#28419a",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 226.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.14842,
    "h": 267.5
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#28419A
secondary
#BDA961
accent
#C046E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #28419A

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

Preview Lab → · Contrast checker → · Palette generator →

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