#28199F#28199F

#28199F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.3% C 0.198 H 274.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#28199F
RGBrgb(40, 25, 159)
HSLhsl(247, 73%, 36%)
HSVhsv(247, 84%, 62%)
CMYKcmyk(74.8%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.47, 48.42, -68.15)
CIE-LCHlch(22.47, 83.60, 305.39°)
OKLaboklab(35.33% 0.0152 -0.197)
OKLCHoklch(35.33% 0.198 274.4)
XYZxyz(7.4786, 3.6488, 33.1043)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28199F #909F19
analogous
#194D9F #28199F #6B199F
triadic
#28199F #9F2819 #199F28
tetradic
#28199F #9F194D #909F19 #199F6B
square
#28199F #9F194D #909F19 #199F6B
split-complementary
#28199F #9F6B19 #4D9F19
monochromatic
#0D0835 #1B116A #28199F #3521D4 #604FE3

Accessibility & contrast

On white

12.14
#28199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#28199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28199F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28199F#FFFFFF#000000##FFFFFF
##28199F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #28199f;
/* rgb */ color: rgb(40, 25, 159);
/* oklch */ color: oklch(35.3% 0.198 274.4);
Tailwind
colors: {
  custom: {
    50: '#775bbd',
    500: '#28199f',
    950: '#000000',
  },
}
SCSS
$custom: #28199f;
$custom-light: #775bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#28199f",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 246.716,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35332,
    "c": 0.19762,
    "h": 274.4
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#28199F
secondary
#B8C64E
accent
#F038DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #28199F

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

Preview Lab → · Contrast checker → · Palette generator →

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