#15347A#15347A

#15347A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.125 H 263.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#15347A
RGBrgb(21, 52, 122)
HSLhsl(222, 71%, 28%)
HSVhsv(222, 83%, 48%)
CMYKcmyk(82.8%, 57.4%, 0%, 52.2%)
CIE-LABlab(23.74, 16.67, -43.09)
CIE-LCHlch(23.74, 46.20, 291.15°)
OKLaboklab(34.85% -0.0145 -0.1243)
OKLCHoklch(34.85% 0.125 263.3)
XYZxyz(5.0488, 4.0200, 18.9184)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15347A #7A5B15
analogous
#15667A #15347A #28157A
triadic
#15347A #7A1534 #347A15
tetradic
#15347A #7A1566 #7A5B15 #157A28
square
#15347A #7A1566 #7A5B15 #157A28
split-complementary
#15347A #7A2815 #667A15
monochromatic
#040B1A #0C1E46 #15347A #1E4AAE #2E63DB

Accessibility & contrast

On white

11.64
#15347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#15347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15347A
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15347A#FFFFFF#000000##FFFFFF
##15347A1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15347a;
/* rgb */ color: rgb(21, 52, 122);
/* oklch */ color: oklch(34.8% 0.125 263.3);
Tailwind
colors: {
  custom: {
    50: '#656aa1',
    500: '#15347a',
    950: '#000000',
  },
}
SCSS
$custom: #15347a;
$custom-light: #656aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#15347a",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 221.584,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.1252,
    "h": 263.3
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#15347A
secondary
#AF8C3B
accent
#B63AED
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #15347A

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

Preview Lab → · Contrast checker → · Palette generator →

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