#15336B#15336B

#15336B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.104 H 261.5°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#15336B
RGBrgb(21, 51, 107)
HSLhsl(219, 67%, 25%)
HSVhsv(219, 80%, 42%)
CMYKcmyk(80.4%, 52.3%, 0%, 58%)
CIE-LABlab(22.26, 11.09, -35.89)
CIE-LCHlch(22.26, 37.56, 287.18°)
OKLaboklab(33.35% -0.0155 -0.1032)
OKLCHoklch(33.35% 0.104 261.5)
XYZxyz(4.1460, 3.5881, 14.3811)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15336B #6B4D15
analogous
#155E6B #15336B #22156B
triadic
#15336B #6B1533 #336B15
tetradic
#15336B #6B155E #6B4D15 #156B22
square
#15336B #6B155E #6B4D15 #156B22
split-complementary
#15336B #6B2215 #5E6B15
monochromatic
#050C1A #0B1B38 #15336B #1F4B9E #2964D1

Accessibility & contrast

On white

12.22
#15336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#15336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15336B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15336B#FFFFFF#000000##FFFFFF
##15336B1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #15336b;
/* rgb */ color: rgb(21, 51, 107);
/* oklch */ color: oklch(33.4% 0.104 261.5);
Tailwind
colors: {
  custom: {
    50: '#616a96',
    500: '#15336b',
    950: '#000000',
  },
}
SCSS
$custom: #15336b;
$custom-light: #616a96;
$custom-dark: #000000;
JSON
{
  "hex": "#15336b",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 219.07,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33353,
    "c": 0.10433,
    "h": 261.5
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#15336B
secondary
#A27E3A
accent
#AE3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15336B

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

Preview Lab → · Contrast checker → · Palette generator →

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