#15388E#15388E

#15388E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.148 H 263.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#15388E
RGBrgb(21, 56, 142)
HSLhsl(223, 74%, 32%)
HSVhsv(223, 85%, 56%)
CMYKcmyk(85.2%, 60.6%, 0%, 44.3%)
CIE-LABlab(26.56, 22.09, -51.00)
CIE-LCHlch(26.56, 55.58, 293.42°)
OKLaboklab(37.5% -0.016 -0.1475)
OKLCHoklch(37.5% 0.148 263.8)
XYZxyz(6.6042, 4.9400, 26.1914)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15388E #8E6B15
analogous
#15748E #15388E #2F158E
triadic
#15388E #8E1538 #388E15
tetradic
#15388E #8E1574 #8E6B15 #158E2F
square
#15388E #8E1574 #8E6B15 #158E2F
split-complementary
#15388E #8E2F15 #748E15
monochromatic
#050E23 #0D2359 #15388E #1D4DC3 #3B6CE2

Accessibility & contrast

On white

10.56
#15388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#15388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15388E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15388E#FFFFFF#000000##FFFFFF
##15388E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15388e;
/* rgb */ color: rgb(21, 56, 142);
/* oklch */ color: oklch(37.5% 0.148 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a6eb0',
    500: '#15388e',
    950: '#000000',
  },
}
SCSS
$custom: #15388e;
$custom-light: #6a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#15388e",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 222.645,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.375,
    "c": 0.14836,
    "h": 263.8
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#15388E
secondary
#C29B3D
accent
#BB37F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #15388E

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

Preview Lab → · Contrast checker → · Palette generator →

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