#28199C#28199C

#28199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.194 H 274.7°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#28199C
RGBrgb(40, 25, 156)
HSLhsl(247, 72%, 35%)
HSVhsv(247, 84%, 61%)
CMYKcmyk(74.4%, 84%, 0%, 38.8%)
CIE-LABlab(22.11, 47.50, -66.92)
CIE-LCHlch(22.11, 82.06, 305.37°)
OKLaboklab(34.98% 0.016 -0.1935)
OKLCHoklch(34.98% 0.194 274.7)
XYZxyz(7.2215, 3.5460, 31.7499)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28199C #8D9C19
analogous
#194C9C #28199C #69199C
triadic
#28199C #9C2819 #199C28
tetradic
#28199C #9C194C #8D9C19 #199C69
square
#28199C #9C194C #8D9C19 #199C69
split-complementary
#28199C #9C6919 #4C9C19
monochromatic
#0D0833 #1A1167 #28199C #3621D1 #5E4DE2

Accessibility & contrast

On white

12.29
#28199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#28199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28199C
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28199C#FFFFFF#000000##FFFFFF
##28199C1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA0
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #28199c;
/* rgb */ color: rgb(40, 25, 156);
/* oklch */ color: oklch(35.0% 0.194 274.7);
Tailwind
colors: {
  custom: {
    50: '#765bbb',
    500: '#28199c',
    950: '#000000',
  },
}
SCSS
$custom: #28199c;
$custom-light: #765bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#28199c",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 246.87,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.19413,
    "h": 274.7
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#28199C
secondary
#B7C44C
accent
#EF39DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #28199C

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

Preview Lab → · Contrast checker → · Palette generator →

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