#15186C#15186C

#15186C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.141 H 271.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#15186C
RGBrgb(21, 24, 108)
HSLhsl(238, 67%, 25%)
HSVhsv(238, 81%, 42%)
CMYKcmyk(80.6%, 77.8%, 0%, 57.6%)
CIE-LABlab(14.93, 30.50, -48.52)
CIE-LCHlch(14.93, 57.31, 302.15°)
OKLaboklab(27.95% 0.0032 -0.1405)
OKLCHoklch(27.95% 0.141 271.3)
XYZxyz(3.3418, 1.8950, 14.3741)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15186C #6C6915
analogous
#15436C #15186C #3D156C
triadic
#15186C #6C1518 #186C15
tetradic
#15186C #6C1543 #6C6915 #156C3D
square
#15186C #6C1543 #6C6915 #156C3D
split-complementary
#15186C #6C3D15 #436C15
monochromatic
#05061A #0B0D39 #15186C #1F239F #292FD2

Accessibility & contrast

On white

15.23
#15186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#15186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15186C
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15186C#FFFFFF#000000##FFFFFF
##15186C1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6E
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15186c;
/* rgb */ color: rgb(21, 24, 108);
/* oklch */ color: oklch(27.9% 0.141 271.3);
Tailwind
colors: {
  custom: {
    50: '#645697',
    500: '#15186c',
    950: '#000000',
  },
}
SCSS
$custom: #15186c;
$custom-light: #645697;
$custom-dark: #000000;
JSON
{
  "hex": "#15186c",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 237.931,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27947,
    "c": 0.1405,
    "h": 271.3
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#15186C
secondary
#A39F3A
accent
#E43DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15186C

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

Preview Lab → · Contrast checker → · Palette generator →

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