#15336D#15336D

#15336D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.107 H 261.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#15336D
RGBrgb(21, 51, 109)
HSLhsl(220, 68%, 25%)
HSVhsv(220, 81%, 43%)
CMYKcmyk(80.7%, 53.2%, 0%, 57.3%)
CIE-LABlab(22.41, 11.94, -36.93)
CIE-LCHlch(22.41, 38.81, 287.91°)
OKLaboklab(33.52% -0.0152 -0.1063)
OKLCHoklch(33.52% 0.107 261.9)
XYZxyz(4.2524, 3.6307, 14.9417)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15336D #6D4F15
analogous
#155F6D #15336D #23156D
triadic
#15336D #6D1533 #336D15
tetradic
#15336D #6D155F #6D4F15 #156D23
square
#15336D #6D155F #6D4F15 #156D23
split-complementary
#15336D #6D2315 #5F6D15
monochromatic
#050C1A #0B1B3A #15336D #1F4BA0 #2963D4

Accessibility & contrast

On white

12.17
#15336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#15336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15336D
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15336D#FFFFFF#000000##FFFFFF
##15336D1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15336d;
/* rgb */ color: rgb(21, 51, 109);
/* oklch */ color: oklch(33.5% 0.107 261.9);
Tailwind
colors: {
  custom: {
    50: '#616a97',
    500: '#15336d',
    950: '#000000',
  },
}
SCSS
$custom: #15336d;
$custom-light: #616a97;
$custom-dark: #000000;
JSON
{
  "hex": "#15336d",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 219.545,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33516,
    "c": 0.10734,
    "h": 261.9
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#15336D
secondary
#A3803A
accent
#AF3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15336D

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

Preview Lab → · Contrast checker → · Palette generator →

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