#28409C#28409C

#28409C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.152 H 267.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#28409C
RGBrgb(40, 64, 156)
HSLhsl(228, 59%, 38%)
HSVhsv(228, 74%, 61%)
CMYKcmyk(74.4%, 59%, 0%, 38.8%)
CIE-LABlab(30.68, 24.18, -52.82)
CIE-LCHlch(30.68, 58.10, 294.60°)
OKLaboklab(41.16% -0.0056 -0.1524)
OKLCHoklch(41.16% 0.153 267.9)
XYZxyz(8.7071, 6.5173, 32.2451)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28409C #9C8428
analogous
#287A9C #28409C #4A289C
triadic
#28409C #9C2840 #409C28
tetradic
#28409C #9C287A #9C8428 #289C4A
square
#28409C #9C287A #9C8428 #289C4A
split-complementary
#28409C #9C4A28 #7A9C28
monochromatic
#0F183B #1C2C6B #28409C #3655CB #677ED8

Accessibility & contrast

On white

9.12
#28409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#28409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28409C
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28409C#FFFFFF#000000##FFFFFF
##28409C1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #28409c;
/* rgb */ color: rgb(40, 64, 156);
/* oklch */ color: oklch(41.2% 0.152 267.9);
Tailwind
colors: {
  custom: {
    50: '#7374ba',
    500: '#28409c',
    950: '#000000',
  },
}
SCSS
$custom: #28409c;
$custom-light: #7374ba;
$custom-dark: #000000;
JSON
{
  "hex": "#28409c",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 227.586,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.1525,
    "h": 267.9
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#28409C
secondary
#BEAB62
accent
#C245E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28409C

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

Preview Lab → · Contrast checker → · Palette generator →

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