#15147E#15147E

#15147E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.167 H 270.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#15147E
RGBrgb(21, 20, 126)
HSLhsl(241, 73%, 29%)
HSVhsv(241, 84%, 49%)
CMYKcmyk(83.3%, 84.1%, 0%, 50.6%)
CIE-LABlab(16.33, 39.12, -57.80)
CIE-LCHlch(16.33, 69.80, 304.09°)
OKLaboklab(29.58% 0.0009 -0.1673)
OKLCHoklch(29.58% 0.167 270.3)
XYZxyz(4.3240, 2.1656, 19.9247)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15147E #7D7E14
analogous
#14487E #15147E #4A147E
triadic
#15147E #7E1514 #147E15
tetradic
#15147E #7E1448 #7D7E14 #147E4A
square
#15147E #7E1448 #7D7E14 #147E4A
split-complementary
#15147E #7E4A14 #487E14
monochromatic
#04041A #0C0C49 #15147E #1E1CB3 #302EDE

Accessibility & contrast

On white

14.65
#15147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#15147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15147E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15147E#FFFFFF#000000##FFFFFF
##15147E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15147e;
/* rgb */ color: rgb(21, 20, 126);
/* oklch */ color: oklch(29.6% 0.167 270.3);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#15147e',
    950: '#000000',
  },
}
SCSS
$custom: #15147e;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15147e",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 240.566,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29578,
    "c": 0.16733,
    "h": 270.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15147E

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

Preview Lab → · Contrast checker → · Palette generator →

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