#15336A#15336A

#15336A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.103 H 261.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#15336A
RGBrgb(21, 51, 106)
HSLhsl(219, 67%, 25%)
HSVhsv(219, 80%, 42%)
CMYKcmyk(80.2%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.19, 10.67, -35.36)
CIE-LCHlch(22.19, 36.94, 286.79°)
OKLaboklab(33.27% -0.0156 -0.1016)
OKLCHoklch(33.27% 0.103 261.3)
XYZxyz(4.0937, 3.5672, 14.1057)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15336A #6A4C15
analogous
#155D6A #15336A #22156A
triadic
#15336A #6A1533 #336A15
tetradic
#15336A #6A155D #6A4C15 #156A22
square
#15336A #6A155D #6A4C15 #156A22
split-complementary
#15336A #6A2215 #5D6A15
monochromatic
#050C1A #0B1A37 #15336A #1F4C9D #2964D0

Accessibility & contrast

On white

12.25
#15336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#15336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15336A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15336A#FFFFFF#000000##FFFFFF
##15336A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #15336a;
/* rgb */ color: rgb(21, 51, 106);
/* oklch */ color: oklch(33.3% 0.103 261.3);
Tailwind
colors: {
  custom: {
    50: '#606a95',
    500: '#15336a',
    950: '#000000',
  },
}
SCSS
$custom: #15336a;
$custom-light: #606a95;
$custom-dark: #000000;
JSON
{
  "hex": "#15336a",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 218.824,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33272,
    "c": 0.10282,
    "h": 261.3
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#15336A
secondary
#A17C3A
accent
#AD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #15336A

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

Preview Lab → · Contrast checker → · Palette generator →

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