#28199E#28199E

#28199E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.196 H 274.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#28199E
RGBrgb(40, 25, 158)
HSLhsl(247, 73%, 36%)
HSVhsv(247, 84%, 62%)
CMYKcmyk(74.7%, 84.2%, 0%, 38%)
CIE-LABlab(22.35, 48.11, -67.74)
CIE-LCHlch(22.35, 83.09, 305.38°)
OKLaboklab(35.21% 0.0155 -0.1958)
OKLCHoklch(35.21% 0.196 274.5)
XYZxyz(7.3922, 3.6143, 32.6492)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28199E #8F9E19
analogous
#194C9E #28199E #6A199E
triadic
#28199E #9E2819 #199E28
tetradic
#28199E #9E194C #8F9E19 #199E6A
square
#28199E #9E194C #8F9E19 #199E6A
split-complementary
#28199E #9E6A19 #4C9E19
monochromatic
#0D0834 #1B1169 #28199E #3521D3 #5F4EE3

Accessibility & contrast

On white

12.19
#28199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#28199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28199E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28199E#FFFFFF#000000##FFFFFF
##28199E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #28199e;
/* rgb */ color: rgb(40, 25, 158);
/* oklch */ color: oklch(35.2% 0.196 274.5);
Tailwind
colors: {
  custom: {
    50: '#775bbc',
    500: '#28199e',
    950: '#000000',
  },
}
SCSS
$custom: #28199e;
$custom-light: #775bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#28199e",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 246.767,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35213,
    "c": 0.19646,
    "h": 274.5
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#28199E
secondary
#B8C54E
accent
#EF38DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #28199E

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

Preview Lab → · Contrast checker → · Palette generator →

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