#15185D#15185D

#15185D is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.2% C 0.120 H 272.7°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#15185D
RGBrgb(21, 24, 93)
HSLhsl(238, 63%, 22%)
HSVhsv(238, 77%, 36%)
CMYKcmyk(77.4%, 74.2%, 0%, 63.5%)
CIE-LABlab(13.25, 24.80, -41.36)
CIE-LCHlch(13.25, 48.23, 300.95°)
OKLaboklab(26.24% 0.0056 -0.1196)
OKLCHoklch(26.24% 0.12 272.7)
XYZxyz(2.6110, 1.6027, 10.5256)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15185D #5D5A15
analogous
#153C5D #15185D #36155D
triadic
#15185D #5D1518 #185D15
tetradic
#15185D #5D153C #5D5A15 #155D36
square
#15185D #5D153C #5D5A15 #155D36
split-complementary
#15185D #5D3615 #3C5D15
monochromatic
#060619 #0A0B2B #15185D #20258F #2C32C1

Accessibility & contrast

On white

15.90
#15185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15185D
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15185D#FFFFFF#000000##FFFFFF
##15185D1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #15185d;
/* rgb */ color: rgb(21, 24, 93);
/* oklch */ color: oklch(26.2% 0.120 272.7);
Tailwind
colors: {
  custom: {
    50: '#5f558c',
    500: '#15185d',
    950: '#000000',
  },
}
SCSS
$custom: #15185d;
$custom-light: #5f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#15185d",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 237.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2624,
    "c": 0.11975,
    "h": 272.7
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#15185D
secondary
#949139
accent
#DF42E6
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #15185D

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

Preview Lab → · Contrast checker → · Palette generator →

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