#15197D#15197D

#15197D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 269.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#15197D
RGBrgb(21, 25, 125)
HSLhsl(238, 71%, 29%)
HSVhsv(238, 83%, 49%)
CMYKcmyk(83.2%, 80%, 0%, 51%)
CIE-LABlab(17.15, 36.04, -55.80)
CIE-LCHlch(17.15, 66.43, 302.86°)
OKLaboklab(30.12% -0.0003 -0.1616)
OKLCHoklch(30.12% 0.162 269.9)
XYZxyz(4.3573, 2.3349, 19.6191)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15197D #7D7915
analogous
#154D7D #15197D #45157D
triadic
#15197D #7D1519 #197D15
tetradic
#15197D #7D154D #7D7915 #157D45
square
#15197D #7D154D #7D7915 #157D45
split-complementary
#15197D #7D4515 #4D7D15
monochromatic
#04051A #0C0F49 #15197D #1E23B1 #3037DC

Accessibility & contrast

On white

14.31
#15197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#15197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15197D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15197D#FFFFFF#000000##FFFFFF
##15197D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00257B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15197d;
/* rgb */ color: rgb(21, 25, 125);
/* oklch */ color: oklch(30.1% 0.162 269.9);
Tailwind
colors: {
  custom: {
    50: '#6857a4',
    500: '#15197d',
    950: '#000000',
  },
}
SCSS
$custom: #15197d;
$custom-light: #6857a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15197d",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 237.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30117,
    "c": 0.16162,
    "h": 269.9
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#15197D
secondary
#B2AE3C
accent
#E73AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #15197D

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

Preview Lab → · Contrast checker → · Palette generator →

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