#15185E#15185E

#15185E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.121 H 272.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#15185E
RGBrgb(21, 24, 94)
HSLhsl(238, 63%, 23%)
HSVhsv(238, 78%, 37%)
CMYKcmyk(77.7%, 74.5%, 0%, 63.1%)
CIE-LABlab(13.36, 25.19, -41.85)
CIE-LCHlch(13.36, 48.85, 301.04°)
OKLaboklab(26.35% 0.0055 -0.1211)
OKLCHoklch(26.35% 0.121 272.6)
XYZxyz(2.6556, 1.6206, 10.7604)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15185E #5E5B15
analogous
#153D5E #15185E #36155E
triadic
#15185E #5E1518 #185E15
tetradic
#15185E #5E153D #5E5B15 #155E36
square
#15185E #5E153D #5E5B15 #155E36
split-complementary
#15185E #5E3615 #3D5E15
monochromatic
#060619 #0A0B2C #15185E #202590 #2B32C2

Accessibility & contrast

On white

15.86
#15185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#15185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15185E
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15185E#FFFFFF#000000##FFFFFF
##15185E1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#002B39
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #15185e;
/* rgb */ color: rgb(21, 24, 94);
/* oklch */ color: oklch(26.4% 0.121 272.6);
Tailwind
colors: {
  custom: {
    50: '#60558c',
    500: '#15185e',
    950: '#000000',
  },
}
SCSS
$custom: #15185e;
$custom-light: #60558c;
$custom-dark: #000000;
JSON
{
  "hex": "#15185e",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 237.534,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26351,
    "c": 0.12118,
    "h": 272.6
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#15185E
secondary
#959239
accent
#E041E7
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #15185E

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

Preview Lab → · Contrast checker → · Palette generator →

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