#15338A#15338A

#15338A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.149 H 265.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#15338A
RGBrgb(21, 51, 138)
HSLhsl(225, 74%, 31%)
HSVhsv(225, 85%, 54%)
CMYKcmyk(84.8%, 63%, 0%, 45.9%)
CIE-LABlab(24.83, 23.96, -51.35)
CIE-LCHlch(24.83, 56.66, 295.01°)
OKLaboklab(36.1% -0.0131 -0.1486)
OKLCHoklch(36.1% 0.149 265)
XYZxyz(6.0789, 4.3613, 24.5613)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15338A #8A6C15
analogous
#156D8A #15338A #31158A
triadic
#15338A #8A1533 #338A15
tetradic
#15338A #8A156D #8A6C15 #158A31
square
#15338A #8A156D #8A6C15 #158A31
split-complementary
#15338A #8A3115 #6D8A15
monochromatic
#050C20 #0D1F55 #15338A #1D47BF #3964E1

Accessibility & contrast

On white

11.22
#15338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#15338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15338A
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15338A#FFFFFF#000000##FFFFFF
##15338A1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15338a;
/* rgb */ color: rgb(21, 51, 138);
/* oklch */ color: oklch(36.1% 0.149 265.0);
Tailwind
colors: {
  custom: {
    50: '#696aad',
    500: '#15338a',
    950: '#000000',
  },
}
SCSS
$custom: #15338a;
$custom-light: #696aad;
$custom-dark: #000000;
JSON
{
  "hex": "#15338a",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 224.615,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36098,
    "c": 0.14918,
    "h": 265
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#15338A
secondary
#BE9D3D
accent
#C138F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #15338A

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

Preview Lab → · Contrast checker → · Palette generator →

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