#28149F#28149F

#28149F is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.9% C 0.201 H 274.7°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#28149F
RGBrgb(40, 20, 159)
HSLhsl(249, 78%, 35%)
HSVhsv(249, 87%, 62%)
CMYKcmyk(74.8%, 87.4%, 0%, 37.6%)
CIE-LABlab(21.78, 50.49, -69.31)
CIE-LCHlch(21.78, 85.75, 306.07°)
OKLaboklab(34.85% 0.0166 -0.2003)
OKLCHoklch(34.85% 0.201 274.7)
XYZxyz(7.3812, 3.4539, 33.0718)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28149F #8B9F14
analogous
#14469F #28149F #6D149F
triadic
#28149F #9F2814 #149F28
tetradic
#28149F #9F1446 #8B9F14 #149F6D
square
#28149F #9F1446 #8B9F14 #149F6D
split-complementary
#28149F #9F6D14 #469F14
monochromatic
#0D0632 #1A0D69 #28149F #361BD5 #5D46E8

Accessibility & contrast

On white

12.42
#28149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#28149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28149F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28149F#FFFFFF#000000##FFFFFF
##28149F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #28149f;
/* rgb */ color: rgb(40, 20, 159);
/* oklch */ color: oklch(34.9% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#7859bd',
    500: '#28149f',
    950: '#000000',
  },
}
SCSS
$custom: #28149f;
$custom-light: #7859bd;
$custom-dark: #000000;
JSON
{
  "hex": "#28149f",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 248.633,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.20098,
    "h": 274.7
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#28149F
secondary
#B6C846
accent
#F434D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #28149F

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

Preview Lab → · Contrast checker → · Palette generator →

#28149F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva