#28419C#28419C

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

Color values

HEX#28419C
RGBrgb(40, 65, 156)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 61%)
CMYKcmyk(74.4%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.95, 23.51, -52.39)
CIE-LCHlch(30.95, 57.42, 294.17°)
OKLaboklab(41.36% -0.0064 -0.1511)
OKLCHoklch(41.36% 0.151 267.6)
XYZxyz(8.7640, 6.6311, 32.2641)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419C #9C8328
analogous
#287B9C #28419C #49289C
triadic
#28419C #9C2841 #419C28
tetradic
#28419C #9C287B #9C8328 #289C49
square
#28419C #9C287B #9C8328 #289C49
split-complementary
#28419C #9C4928 #7B9C28
monochromatic
#0F183B #1C2D6B #28419C #3656CB #677FD8

Accessibility & contrast

On white

9.03
#28419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28419C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419C#FFFFFF#000000##FFFFFF
##28419C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28419c;
/* rgb */ color: rgb(40, 65, 156);
/* oklch */ color: oklch(41.4% 0.151 267.6);
Tailwind
colors: {
  custom: {
    50: '#7375ba',
    500: '#28419c',
    950: '#000000',
  },
}
SCSS
$custom: #28419c;
$custom-light: #7375ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28419c",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 227.069,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.15123,
    "h": 267.6
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#28419C
secondary
#BEAA62
accent
#C145E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28419C

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

Preview Lab → · Contrast checker → · Palette generator →

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