#15388D#15388D

#15388D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.147 H 263.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#15388D
RGBrgb(21, 56, 141)
HSLhsl(223, 74%, 32%)
HSVhsv(223, 85%, 55%)
CMYKcmyk(85.1%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.48, 21.69, -50.52)
CIE-LCHlch(26.48, 54.98, 293.23°)
OKLaboklab(37.41% -0.016 -0.1461)
OKLCHoklch(37.41% 0.147 263.7)
XYZxyz(6.5294, 4.9101, 25.7977)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15388D #8D6A15
analogous
#15748D #15388D #2E158D
triadic
#15388D #8D1538 #388D15
tetradic
#15388D #8D1574 #8D6A15 #158D2E
square
#15388D #8D1574 #8D6A15 #158D2E
split-complementary
#15388D #8D2E15 #748D15
monochromatic
#050E22 #0D2358 #15388D #1D4DC2 #3B6BE2

Accessibility & contrast

On white

10.59
#15388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#15388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15388D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15388D#FFFFFF#000000##FFFFFF
##15388D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #15388d;
/* rgb */ color: rgb(21, 56, 141);
/* oklch */ color: oklch(37.4% 0.147 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a6eaf',
    500: '#15388d',
    950: '#000000',
  },
}
SCSS
$custom: #15388d;
$custom-light: #6a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#15388d",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 222.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37409,
    "c": 0.14698,
    "h": 263.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#15388D
secondary
#C19A3D
accent
#BB37F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #15388D

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

Preview Lab → · Contrast checker → · Palette generator →

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