#15337B#15337B

#15337B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.7% C 0.128 H 263.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#15337B
RGBrgb(21, 51, 123)
HSLhsl(222, 71%, 28%)
HSVhsv(222, 83%, 48%)
CMYKcmyk(82.9%, 58.5%, 0%, 51.8%)
CIE-LABlab(23.53, 17.80, -44.06)
CIE-LCHlch(23.53, 47.53, 292.00°)
OKLaboklab(34.72% -0.0137 -0.1272)
OKLCHoklch(34.72% 0.128 263.8)
XYZxyz(5.0670, 3.9565, 19.2317)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337B #7B5D15
analogous
#15667B #15337B #2A157B
triadic
#15337B #7B1533 #337B15
tetradic
#15337B #7B1566 #7B5D15 #157B2A
square
#15337B #7B1566 #7B5D15 #157B2A
split-complementary
#15337B #7B2A15 #667B15
monochromatic
#040B1A #0C1D47 #15337B #1E49AF #2F62DB

Accessibility & contrast

On white

11.72
#15337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#15337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15337B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337B#FFFFFF#000000##FFFFFF
##15337B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15337b;
/* rgb */ color: rgb(21, 51, 123);
/* oklch */ color: oklch(34.7% 0.128 263.8);
Tailwind
colors: {
  custom: {
    50: '#656aa2',
    500: '#15337b',
    950: '#000000',
  },
}
SCSS
$custom: #15337b;
$custom-light: #656aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#15337b",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 222.353,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34716,
    "c": 0.12797,
    "h": 263.8
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#15337B
secondary
#B08E3B
accent
#B93AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15337B

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

Preview Lab → · Contrast checker → · Palette generator →

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