#15147D#15147D

#15147D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.166 H 270.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#15147D
RGBrgb(21, 20, 125)
HSLhsl(241, 72%, 28%)
HSVhsv(241, 84%, 49%)
CMYKcmyk(83.2%, 84%, 0%, 51%)
CIE-LABlab(16.20, 38.79, -57.37)
CIE-LCHlch(16.20, 69.26, 304.06°)
OKLaboklab(29.45% 0.0011 -0.1661)
OKLCHoklch(29.45% 0.166 270.4)
XYZxyz(4.2598, 2.1399, 19.5866)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15147D #7C7D14
analogous
#14477D #15147D #49147D
triadic
#15147D #7D1514 #147D15
tetradic
#15147D #7D1447 #7C7D14 #147D49
square
#15147D #7D1447 #7C7D14 #147D49
split-complementary
#15147D #7D4914 #477D14
monochromatic
#04041A #0C0C48 #15147D #1E1CB2 #302EDE

Accessibility & contrast

On white

14.71
#15147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15147D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15147D#FFFFFF#000000##FFFFFF
##15147D1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15147d;
/* rgb */ color: rgb(21, 20, 125);
/* oklch */ color: oklch(29.5% 0.166 270.4);
Tailwind
colors: {
  custom: {
    50: '#6954a4',
    500: '#15147d',
    950: '#000000',
  },
}
SCSS
$custom: #15147d;
$custom-light: #6954a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15147d",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 240.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29452,
    "c": 0.1661,
    "h": 270.4
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#15147D
secondary
#B1B23A
accent
#EF39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15147D

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

Preview Lab → · Contrast checker → · Palette generator →

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