#15146C#15146C

#15146C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.145 H 271.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#15146C
RGBrgb(21, 20, 108)
HSLhsl(241, 69%, 25%)
HSVhsv(241, 81%, 42%)
CMYKcmyk(80.6%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.07, 32.92, -49.93)
CIE-LCHlch(14.07, 59.81, 303.40°)
OKLaboklab(27.34% 0.0049 -0.1445)
OKLCHoklch(27.34% 0.145 271.9)
XYZxyz(3.2653, 1.7421, 14.3486)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15146C #6B6C14
analogous
#143F6C #15146C #41146C
triadic
#15146C #6C1514 #146C15
tetradic
#15146C #6C143F #6B6C14 #146C41
square
#15146C #6C143F #6B6C14 #146C41
split-complementary
#15146C #6C4114 #3F6C14
monochromatic
#05051A #0B0A38 #15146C #1F1EA0 #2927D3

Accessibility & contrast

On white

15.57
#15146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#15146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15146C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15146C#FFFFFF#000000##FFFFFF
##15146C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15146c;
/* rgb */ color: rgb(21, 20, 108);
/* oklch */ color: oklch(27.3% 0.145 271.9);
Tailwind
colors: {
  custom: {
    50: '#645397',
    500: '#15146c',
    950: '#000000',
  },
}
SCSS
$custom: #15146c;
$custom-light: #645397;
$custom-dark: #000000;
JSON
{
  "hex": "#15146c",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 240.682,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27342,
    "c": 0.14461,
    "h": 271.9
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#15146C
secondary
#A2A339
accent
#EC3CEA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #15146C

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

Preview Lab → · Contrast checker → · Palette generator →

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