#15388A#15388A

#15388A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.143 H 263.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#15388A
RGBrgb(21, 56, 138)
HSLhsl(222, 74%, 31%)
HSVhsv(222, 85%, 54%)
CMYKcmyk(84.8%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.22, 20.46, -49.08)
CIE-LCHlch(26.22, 53.17, 292.63°)
OKLaboklab(37.14% -0.0162 -0.1419)
OKLCHoklch(37.14% 0.143 263.5)
XYZxyz(6.3092, 4.8220, 24.6380)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15388A #8A6715
analogous
#15728A #15388A #2C158A
triadic
#15388A #8A1538 #388A15
tetradic
#15388A #8A1572 #8A6715 #158A2C
square
#15388A #8A1572 #8A6715 #158A2C
split-complementary
#15388A #8A2C15 #728A15
monochromatic
#050D20 #0D2255 #15388A #1D4EBF #396BE1

Accessibility & contrast

On white

10.69
#15388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#15388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15388A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15388A#FFFFFF#000000##FFFFFF
##15388A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #15388a;
/* rgb */ color: rgb(21, 56, 138);
/* oklch */ color: oklch(37.1% 0.143 263.5);
Tailwind
colors: {
  custom: {
    50: '#696ead',
    500: '#15388a',
    950: '#000000',
  },
}
SCSS
$custom: #15388a;
$custom-light: #696ead;
$custom-dark: #000000;
JSON
{
  "hex": "#15388a",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 222.051,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37137,
    "c": 0.14279,
    "h": 263.5
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#15388A
secondary
#BE973D
accent
#B938F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #15388A

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

Preview Lab → · Contrast checker → · Palette generator →

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