#15337E#15337E

#15337E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.132 H 264.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#15337E
RGBrgb(21, 51, 126)
HSLhsl(223, 71%, 29%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.3%, 59.5%, 0%, 50.6%)
CIE-LABlab(23.78, 19.05, -45.55)
CIE-LCHlch(23.78, 49.37, 292.69°)
OKLaboklab(34.99% -0.0135 -0.1316)
OKLCHoklch(34.99% 0.132 264.1)
XYZxyz(5.2576, 4.0328, 20.2359)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337E #7E6015
analogous
#15687E #15337E #2C157E
triadic
#15337E #7E1533 #337E15
tetradic
#15337E #7E1568 #7E6015 #157E2C
square
#15337E #7E1568 #7E6015 #157E2C
split-complementary
#15337E #7E2C15 #687E15
monochromatic
#040B1A #0C1E4A #15337E #1E48B2 #3162DD

Accessibility & contrast

On white

11.62
#15337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#15337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15337E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337E#FFFFFF#000000##FFFFFF
##15337E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #15337e;
/* rgb */ color: rgb(21, 51, 126);
/* oklch */ color: oklch(35.0% 0.132 264.1);
Tailwind
colors: {
  custom: {
    50: '#666aa4',
    500: '#15337e',
    950: '#000000',
  },
}
SCSS
$custom: #15337e;
$custom-light: #666aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#15337e",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 222.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34985,
    "c": 0.13228,
    "h": 264.1
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#15337E
secondary
#B3913C
accent
#BB3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15337E

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

Preview Lab → · Contrast checker → · Palette generator →

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