#15337A#15337A

#15337A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.127 H 263.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#15337A
RGBrgb(21, 51, 122)
HSLhsl(222, 71%, 28%)
HSVhsv(222, 83%, 48%)
CMYKcmyk(82.8%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.44, 17.39, -43.57)
CIE-LCHlch(23.44, 46.91, 291.76°)
OKLaboklab(34.63% -0.0138 -0.1258)
OKLCHoklch(34.63% 0.127 263.7)
XYZxyz(5.0047, 3.9316, 18.9037)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337A #7A5C15
analogous
#15657A #15337A #29157A
triadic
#15337A #7A1533 #337A15
tetradic
#15337A #7A1565 #7A5C15 #157A29
square
#15337A #7A1565 #7A5C15 #157A29
split-complementary
#15337A #7A2915 #657A15
monochromatic
#040B1A #0C1D46 #15337A #1E49AE #2E62DB

Accessibility & contrast

On white

11.76
#15337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15337A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337A#FFFFFF#000000##FFFFFF
##15337A1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15337a;
/* rgb */ color: rgb(21, 51, 122);
/* oklch */ color: oklch(34.6% 0.127 263.7);
Tailwind
colors: {
  custom: {
    50: '#656aa1',
    500: '#15337a',
    950: '#000000',
  },
}
SCSS
$custom: #15337a;
$custom-light: #656aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#15337a",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 222.178,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.12652,
    "h": 263.7
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#15337A
secondary
#AF8D3B
accent
#B83AED
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #15337A

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

Preview Lab → · Contrast checker → · Palette generator →

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