#15198D#15198D

#15198D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.181 H 268.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#15198D
RGBrgb(21, 25, 141)
HSLhsl(238, 74%, 32%)
HSVhsv(238, 85%, 55%)
CMYKcmyk(85.1%, 82.3%, 0%, 44.7%)
CIE-LABlab(19.13, 41.55, -62.62)
CIE-LCHlch(19.13, 75.15, 303.56°)
OKLaboklab(32.07% -0.0034 -0.1814)
OKLCHoklch(32.07% 0.181 268.9)
XYZxyz(5.4630, 2.7771, 25.4423)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15198D #8D8915
analogous
#15558D #15198D #4D158D
triadic
#15198D #8D1519 #198D15
tetradic
#15198D #8D1555 #8D8915 #158D4D
square
#15198D #8D1555 #8D8915 #158D4D
split-complementary
#15198D #8D4D15 #558D15
monochromatic
#050622 #0D1058 #15198D #1D22C2 #3B40E2

Accessibility & contrast

On white

13.50
#15198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#15198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15198D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15198D#FFFFFF#000000##FFFFFF
##15198D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15198d;
/* rgb */ color: rgb(21, 25, 141);
/* oklch */ color: oklch(32.1% 0.181 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d58b0',
    500: '#15198d',
    950: '#000000',
  },
}
SCSS
$custom: #15198d;
$custom-light: #6d58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15198d",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 238,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32072,
    "c": 0.18141,
    "h": 268.9
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#15198D
secondary
#C1BC3D
accent
#EB37F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080311
muted
#7B7880

Preview Lab

Preview with #15198D

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

Preview Lab → · Contrast checker → · Palette generator →

#15198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva