#15337F#15337F

#15337F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.134 H 264.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#15337F
RGBrgb(21, 51, 127)
HSLhsl(223, 72%, 29%)
HSVhsv(223, 83%, 50%)
CMYKcmyk(83.5%, 59.8%, 0%, 50.2%)
CIE-LABlab(23.86, 19.46, -46.04)
CIE-LCHlch(23.86, 49.98, 292.91°)
OKLaboklab(35.08% -0.0135 -0.133)
OKLCHoklch(35.08% 0.134 264.2)
XYZxyz(5.3225, 4.0588, 20.5775)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15337F #7F6115
analogous
#15687F #15337F #2C157F
triadic
#15337F #7F1533 #337F15
tetradic
#15337F #7F1568 #7F6115 #157F2C
square
#15337F #7F1568 #7F6115 #157F2C
split-complementary
#15337F #7F2C15 #687F15
monochromatic
#040B1A #0C1E4A #15337F #1E48B4 #3162DD

Accessibility & contrast

On white

11.59
#15337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15337F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15337F#FFFFFF#000000##FFFFFF
##15337F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15337f;
/* rgb */ color: rgb(21, 51, 127);
/* oklch */ color: oklch(35.1% 0.134 264.2);
Tailwind
colors: {
  custom: {
    50: '#666aa5',
    500: '#15337f',
    950: '#000000',
  },
}
SCSS
$custom: #15337f;
$custom-light: #666aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#15337f",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 223.019,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35075,
    "c": 0.13372,
    "h": 264.2
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#15337F
secondary
#B4923C
accent
#BB39EE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15337F

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

Preview Lab → · Contrast checker → · Palette generator →

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