#28419B#28419B

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

Color values

HEX#28419B
RGBrgb(40, 65, 155)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 74%, 61%)
CMYKcmyk(74.2%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.87, 23.13, -51.91)
CIE-LCHlch(30.87, 56.83, 294.01°)
OKLaboklab(41.28% -0.0065 -0.1497)
OKLCHoklch(41.28% 0.15 267.5)
XYZxyz(8.6797, 6.5974, 31.8200)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28419B #9B8228
analogous
#287A9B #28419B #49289B
triadic
#28419B #9B2841 #419B28
tetradic
#28419B #9B287A #9B8228 #289B49
square
#28419B #9B287A #9B8228 #289B49
split-complementary
#28419B #9B4928 #7A9B28
monochromatic
#0F183A #1B2D6A #28419B #3556CB #667FD7

Accessibility & contrast

On white

9.05
#28419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#28419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28419B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28419B#FFFFFF#000000##FFFFFF
##28419B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28419b;
/* rgb */ color: rgb(40, 65, 155);
/* oklch */ color: oklch(41.3% 0.150 267.5);
Tailwind
colors: {
  custom: {
    50: '#7375b9',
    500: '#28419b',
    950: '#000000',
  },
}
SCSS
$custom: #28419b;
$custom-light: #7375b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28419b",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 226.957,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.14983,
    "h": 267.5
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#28419B
secondary
#BDA961
accent
#C046E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28419B

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

Preview Lab → · Contrast checker → · Palette generator →

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