#15186E#15186E

#15186E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.143 H 271.1°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#15186E
RGBrgb(21, 24, 110)
HSLhsl(238, 68%, 26%)
HSVhsv(238, 81%, 43%)
CMYKcmyk(80.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(15.16, 31.23, -49.44)
CIE-LCHlch(15.16, 58.48, 302.29°)
OKLaboklab(28.18% 0.0029 -0.1431)
OKLCHoklch(28.18% 0.143 271.1)
XYZxyz(3.4494, 1.9381, 14.9411)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15186E #6E6B15
analogous
#15446E #15186E #3F156E
triadic
#15186E #6E1518 #186E15
tetradic
#15186E #6E1544 #6E6B15 #156E3F
square
#15186E #6E1544 #6E6B15 #156E3F
split-complementary
#15186E #6E3F15 #446E15
monochromatic
#05061A #0B0D3B #15186E #1F23A1 #292ED5

Accessibility & contrast

On white

15.13
#15186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#15186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15186E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15186E#FFFFFF#000000##FFFFFF
##15186E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A70
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #15186e;
/* rgb */ color: rgb(21, 24, 110);
/* oklch */ color: oklch(28.2% 0.143 271.1);
Tailwind
colors: {
  custom: {
    50: '#645699',
    500: '#15186e',
    950: '#000000',
  },
}
SCSS
$custom: #15186e;
$custom-light: #645699;
$custom-dark: #000000;
JSON
{
  "hex": "#15186e",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 237.978,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28181,
    "c": 0.14317,
    "h": 271.1
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#15186E
secondary
#A4A13A
accent
#E53DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #15186E

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

Preview Lab → · Contrast checker → · Palette generator →

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