#15338D#15338D

#15338D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.153 H 265.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#15338D
RGBrgb(21, 51, 141)
HSLhsl(225, 74%, 32%)
HSVhsv(225, 85%, 55%)
CMYKcmyk(85.1%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.10, 25.17, -52.76)
CIE-LCHlch(25.10, 58.46, 295.50°)
OKLaboklab(36.39% -0.0131 -0.1527)
OKLCHoklch(36.39% 0.153 265.1)
XYZxyz(6.2991, 4.4494, 25.7210)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15338D #8D6F15
analogous
#156F8D #15338D #33158D
triadic
#15338D #8D1533 #338D15
tetradic
#15338D #8D156F #8D6F15 #158D33
square
#15338D #8D156F #8D6F15 #158D33
split-complementary
#15338D #8D3315 #6F8D15
monochromatic
#050C22 #0D2058 #15338D #1D46C2 #3B64E2

Accessibility & contrast

On white

11.11
#15338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#15338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15338D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15338D#FFFFFF#000000##FFFFFF
##15338D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15338d;
/* rgb */ color: rgb(21, 51, 141);
/* oklch */ color: oklch(36.4% 0.153 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a6aaf',
    500: '#15338d',
    950: '#000000',
  },
}
SCSS
$custom: #15338d;
$custom-light: #6a6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#15338d",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 225,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.15331,
    "h": 265.1
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#15338D
secondary
#C1A03D
accent
#C237F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #15338D

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

Preview Lab → · Contrast checker → · Palette generator →

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