#28309A#28309A

#28309A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.169 H 271.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#28309A
RGBrgb(40, 48, 154)
HSLhsl(236, 59%, 38%)
HSVhsv(236, 74%, 60%)
CMYKcmyk(74%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.44, 34.00, -58.54)
CIE-LCHlch(26.44, 67.70, 300.15°)
OKLaboklab(37.98% 0.0056 -0.1693)
OKLCHoklch(37.98% 0.169 271.9)
XYZxyz(7.7628, 4.8973, 31.1018)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28309A #9A9228
analogous
#28699A #28309A #59289A
triadic
#28309A #9A2830 #309A28
tetradic
#28309A #9A2869 #9A9228 #289A59
square
#28309A #9A2869 #9A9228 #289A59
split-complementary
#28309A #9A5928 #699A28
monochromatic
#0F1239 #1B2169 #28309A #353FCA #656DD7

Accessibility & contrast

On white

10.61
#28309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#28309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28309A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28309A#FFFFFF#000000##FFFFFF
##28309A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #28309a;
/* rgb */ color: rgb(40, 48, 154);
/* oklch */ color: oklch(38.0% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#7469b9',
    500: '#28309a',
    950: '#000000',
  },
}
SCSS
$custom: #28309a;
$custom-light: #7469b9;
$custom-dark: #000000;
JSON
{
  "hex": "#28309a",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 235.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37978,
    "c": 0.16939,
    "h": 271.9
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#28309A
secondary
#BDB761
accent
#D746E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #28309A

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

Preview Lab → · Contrast checker → · Palette generator →

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