#15197C#15197C

#15197C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.160 H 270.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#15197C
RGBrgb(21, 25, 124)
HSLhsl(238, 71%, 28%)
HSVhsv(238, 83%, 49%)
CMYKcmyk(83.1%, 79.8%, 0%, 51.4%)
CIE-LABlab(17.03, 35.69, -55.36)
CIE-LCHlch(17.03, 65.87, 302.81°)
OKLaboklab(30% -0.0001 -0.1603)
OKLCHoklch(30% 0.16 270)
XYZxyz(4.2937, 2.3094, 19.2843)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15197C #7C7815
analogous
#154C7C #15197C #44157C
triadic
#15197C #7C1519 #197C15
tetradic
#15197C #7C154C #7C7815 #157C44
square
#15197C #7C154C #7C7815 #157C44
split-complementary
#15197C #7C4415 #4C7C15
monochromatic
#04051A #0C0E48 #15197C #1E24B0 #3036DC

Accessibility & contrast

On white

14.36
#15197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#15197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15197C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15197C#FFFFFF#000000##FFFFFF
##15197C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15197c;
/* rgb */ color: rgb(21, 25, 124);
/* oklch */ color: oklch(30.0% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#6857a3',
    500: '#15197c',
    950: '#000000',
  },
}
SCSS
$custom: #15197c;
$custom-light: #6857a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15197c",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 237.67,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29996,
    "c": 0.16035,
    "h": 270
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15197C

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

Preview Lab → · Contrast checker → · Palette generator →

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