#15147B#15147B

#15147B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.164 H 270.5°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#15147B
RGBrgb(21, 20, 123)
HSLhsl(241, 72%, 28%)
HSVhsv(241, 84%, 48%)
CMYKcmyk(82.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(15.95, 38.12, -56.52)
CIE-LCHlch(15.95, 68.17, 304.00°)
OKLaboklab(29.2% 0.0015 -0.1636)
OKLCHoklch(29.2% 0.164 270.5)
XYZxyz(4.1334, 2.0893, 18.9205)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15147B #7A7B14
analogous
#14467B #15147B #49147B
triadic
#15147B #7B1514 #147B15
tetradic
#15147B #7B1446 #7A7B14 #147B49
square
#15147B #7B1446 #7A7B14 #147B49
split-complementary
#15147B #7B4914 #467B14
monochromatic
#04041A #0C0B46 #15147B #1E1DB0 #2E2DDD

Accessibility & contrast

On white

14.81
#15147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#15147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15147B
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15147B#FFFFFF#000000##FFFFFF
##15147B1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15147b;
/* rgb */ color: rgb(21, 20, 123);
/* oklch */ color: oklch(29.2% 0.164 270.5);
Tailwind
colors: {
  custom: {
    50: '#6854a2',
    500: '#15147b',
    950: '#000000',
  },
}
SCSS
$custom: #15147b;
$custom-light: #6854a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15147b",
  "rgb": {
    "r": 21,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 240.583,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.292,
    "c": 0.16364,
    "h": 270.5
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#15147B
secondary
#AFB13A
accent
#EF39ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #15147B

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

Preview Lab → · Contrast checker → · Palette generator →

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