#15389E#15389E

#15389E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.170 H 264.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#15389E
RGBrgb(21, 56, 158)
HSLhsl(225, 77%, 35%)
HSVhsv(225, 87%, 62%)
CMYKcmyk(86.7%, 64.6%, 0%, 38%)
CIE-LABlab(27.99, 28.51, -58.46)
CIE-LCHlch(27.99, 65.04, 296.00°)
OKLaboklab(39.01% -0.0157 -0.1694)
OKLCHoklch(39.01% 0.17 264.7)
XYZxyz(7.8928, 5.4554, 32.9781)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15389E #9E7B15
analogous
#157C9E #15389E #37159E
triadic
#15389E #9E1538 #389E15
tetradic
#15389E #9E157C #9E7B15 #159E37
square
#15389E #9E157C #9E7B15 #159E37
split-complementary
#15389E #9E3715 #7C9E15
monochromatic
#071232 #0E2568 #15389E #1C4BD4 #4770E7

Accessibility & contrast

On white

10.04
#15389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#15389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15389E
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15389E#FFFFFF#000000##FFFFFF
##15389E1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #15389e;
/* rgb */ color: rgb(21, 56, 158);
/* oklch */ color: oklch(39.0% 0.170 264.7);
Tailwind
colors: {
  custom: {
    50: '#6f6ebc',
    500: '#15389e',
    950: '#000000',
  },
}
SCSS
$custom: #15389e;
$custom-light: #6f6ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#15389e",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 224.672,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.17009,
    "h": 264.7
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#15389E
secondary
#C7A747
accent
#C235F3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #15389E

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

Preview Lab → · Contrast checker → · Palette generator →

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