#15337D#15337D

#15337D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.131 H 264.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#15337D
RGBrgb(21, 51, 125)
HSLhsl(223, 71%, 29%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.2%, 59.2%, 0%, 51%)
CIE-LABlab(23.69, 18.63, -45.06)
CIE-LCHlch(23.69, 48.76, 292.47°)
OKLaboklab(34.89% -0.0136 -0.1301)
OKLCHoklch(34.89% 0.131 264)
XYZxyz(5.1934, 4.0071, 19.8978)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337D #7D5F15
analogous
#15677D #15337D #2B157D
triadic
#15337D #7D1533 #337D15
tetradic
#15337D #7D1567 #7D5F15 #157D2B
square
#15337D #7D1567 #7D5F15 #157D2B
split-complementary
#15337D #7D2B15 #677D15
monochromatic
#040B1A #0C1E49 #15337D #1E48B1 #3062DC

Accessibility & contrast

On white

11.66
#15337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#15337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15337D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337D#FFFFFF#000000##FFFFFF
##15337D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15337d;
/* rgb */ color: rgb(21, 51, 125);
/* oklch */ color: oklch(34.9% 0.131 264.0);
Tailwind
colors: {
  custom: {
    50: '#666aa3',
    500: '#15337d',
    950: '#000000',
  },
}
SCSS
$custom: #15337d;
$custom-light: #666aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#15337d",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 222.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.13085,
    "h": 264
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#15337D
secondary
#B2903C
accent
#BA3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15337D

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

Preview Lab → · Contrast checker → · Palette generator →

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