#15337C#15337C

#15337C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.129 H 263.9°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#15337C
RGBrgb(21, 51, 124)
HSLhsl(223, 71%, 28%)
HSVhsv(223, 83%, 49%)
CMYKcmyk(83.1%, 58.9%, 0%, 51.4%)
CIE-LABlab(23.61, 18.22, -44.56)
CIE-LCHlch(23.61, 48.14, 292.24°)
OKLaboklab(34.81% -0.0136 -0.1287)
OKLCHoklch(34.81% 0.129 263.9)
XYZxyz(5.1299, 3.9817, 19.5631)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337C #7C5E15
analogous
#15667C #15337C #2A157C
triadic
#15337C #7C1533 #337C15
tetradic
#15337C #7C1566 #7C5E15 #157C2A
square
#15337C #7C1566 #7C5E15 #157C2A
split-complementary
#15337C #7C2A15 #667C15
monochromatic
#040B1A #0C1D48 #15337C #1E49B0 #3062DC

Accessibility & contrast

On white

11.69
#15337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15337C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337C#FFFFFF#000000##FFFFFF
##15337C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15337c;
/* rgb */ color: rgb(21, 51, 124);
/* oklch */ color: oklch(34.8% 0.129 263.9);
Tailwind
colors: {
  custom: {
    50: '#656aa3',
    500: '#15337c',
    950: '#000000',
  },
}
SCSS
$custom: #15337c;
$custom-light: #656aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#15337c",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 222.524,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34805,
    "c": 0.12941,
    "h": 263.9
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#15337C
secondary
#B18F3C
accent
#B93AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15337C

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

Preview Lab → · Contrast checker → · Palette generator →

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