#15336F#15336F

#15336F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.110 H 262.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#15336F
RGBrgb(21, 51, 111)
HSLhsl(220, 68%, 26%)
HSVhsv(220, 81%, 44%)
CMYKcmyk(81.1%, 54.1%, 0%, 56.5%)
CIE-LABlab(22.56, 12.78, -37.97)
CIE-LCHlch(22.56, 40.07, 288.60°)
OKLaboklab(33.68% -0.0149 -0.1093)
OKLCHoklch(33.68% 0.11 262.2)
XYZxyz(4.3613, 3.6743, 15.5152)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15336F #6F5115
analogous
#15606F #15336F #24156F
triadic
#15336F #6F1533 #336F15
tetradic
#15336F #6F1560 #6F5115 #156F24
square
#15336F #6F1560 #6F5115 #156F24
split-complementary
#15336F #6F2415 #606F15
monochromatic
#050C1A #0B1B3C #15336F #1F4BA2 #2862D6

Accessibility & contrast

On white

12.10
#15336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#15336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15336F
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15336F#FFFFFF#000000##FFFFFF
##15336F1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15336f;
/* rgb */ color: rgb(21, 51, 111);
/* oklch */ color: oklch(33.7% 0.110 262.2);
Tailwind
colors: {
  custom: {
    50: '#626a99',
    500: '#15336f',
    950: '#000000',
  },
}
SCSS
$custom: #15336f;
$custom-light: #626a99;
$custom-dark: #000000;
JSON
{
  "hex": "#15336f",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 220,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33682,
    "c": 0.11033,
    "h": 262.2
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#15336F
secondary
#A5823A
accent
#B13DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #15336F

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

Preview Lab → · Contrast checker → · Palette generator →

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