#15195F#15195F

#15195F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.6% C 0.121 H 272.2°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#15195F
RGBrgb(21, 25, 95)
HSLhsl(237, 64%, 23%)
HSVhsv(237, 78%, 37%)
CMYKcmyk(77.9%, 73.7%, 0%, 62.7%)
CIE-LABlab(13.71, 24.90, -41.93)
CIE-LCHlch(13.71, 48.77, 300.70°)
OKLaboklab(26.64% 0.0047 -0.1213)
OKLCHoklch(26.64% 0.121 272.2)
XYZxyz(2.7218, 1.6806, 11.0052)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15195F #5F5B15
analogous
#153E5F #15195F #36155F
triadic
#15195F #5F1519 #195F15
tetradic
#15195F #5F153E #5F5B15 #155F36
square
#15195F #5F153E #5F5B15 #155F36
split-complementary
#15195F #5F3615 #3E5F15
monochromatic
#060719 #0A0C2D #15195F #202691 #2B33C3

Accessibility & contrast

On white

15.72
#15195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#15195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15195F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15195F#FFFFFF#000000##FFFFFF
##15195F1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#002C39
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #15195f;
/* rgb */ color: rgb(21, 25, 95);
/* oklch */ color: oklch(26.6% 0.121 272.2);
Tailwind
colors: {
  custom: {
    50: '#60568d',
    500: '#15195f',
    950: '#000000',
  },
}
SCSS
$custom: #15195f;
$custom-light: #60568d;
$custom-dark: #000000;
JSON
{
  "hex": "#15195f",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 236.757,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26642,
    "c": 0.12138,
    "h": 272.2
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#15195F
secondary
#96913A
accent
#DE41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #15195F

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

Preview Lab → · Contrast checker → · Palette generator →

#15195F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva