#15147F#15147F

#15147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.169 H 270.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#15147F
RGBrgb(21, 20, 127)
HSLhsl(241, 73%, 29%)
HSVhsv(241, 84%, 50%)
CMYKcmyk(83.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(16.46, 39.46, -58.22)
CIE-LCHlch(16.46, 70.33, 304.13°)
OKLaboklab(29.7% 0.0006 -0.1686)
OKLCHoklch(29.7% 0.169 270.2)
XYZxyz(4.3889, 2.1915, 20.2663)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15147F #7E7F14
analogous
#14497F #15147F #4B147F
triadic
#15147F #7F1514 #147F15
tetradic
#15147F #7F1449 #7E7F14 #147F4B
square
#15147F #7F1449 #7E7F14 #147F4B
split-complementary
#15147F #7F4B14 #497F14
monochromatic
#04041A #0C0C4A #15147F #1E1CB4 #312FDE

Accessibility & contrast

On white

14.60
#15147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#15147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15147F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15147F#FFFFFF#000000##FFFFFF
##15147F1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #15147f;
/* rgb */ color: rgb(21, 20, 127);
/* oklch */ color: oklch(29.7% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#15147f',
    950: '#000000',
  },
}
SCSS
$custom: #15147f;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15147f",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 240.561,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29704,
    "c": 0.16856,
    "h": 270.2
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#15147F
secondary
#B3B43B
accent
#EF38EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15147F

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

Preview Lab → · Contrast checker → · Palette generator →

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