#15146F#15146F

#15146F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.148 H 271.6°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#15146F
RGBrgb(21, 20, 111)
HSLhsl(241, 69%, 26%)
HSVhsv(241, 82%, 44%)
CMYKcmyk(81.1%, 82%, 0%, 56.5%)
CIE-LABlab(14.44, 33.98, -51.28)
CIE-LCHlch(14.44, 61.52, 303.53°)
OKLaboklab(27.71% 0.0042 -0.1484)
OKLCHoklch(27.71% 0.149 271.6)
XYZxyz(3.4277, 1.8071, 15.2040)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15146F #6E6F14
analogous
#14406F #15146F #42146F
triadic
#15146F #6F1514 #146F15
tetradic
#15146F #6F1440 #6E6F14 #146F42
square
#15146F #6F1440 #6E6F14 #146F42
split-complementary
#15146F #6F4214 #406F14
monochromatic
#05051A #0B0B3B #15146F #1F1DA3 #2927D7

Accessibility & contrast

On white

15.43
#15146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15146F
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15146F#FFFFFF#000000##FFFFFF
##15146F1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15146f;
/* rgb */ color: rgb(21, 20, 111);
/* oklch */ color: oklch(27.7% 0.148 271.6);
Tailwind
colors: {
  custom: {
    50: '#655399',
    500: '#15146f',
    950: '#000000',
  },
}
SCSS
$custom: #15146f;
$custom-light: #655399;
$custom-dark: #000000;
JSON
{
  "hex": "#15146f",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 240.659,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.1485,
    "h": 271.6
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#15146F
secondary
#A4A639
accent
#EC3CEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #15146F

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

Preview Lab → · Contrast checker → · Palette generator →

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