#15348A#15348A

#15348A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.148 H 264.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#15348A
RGBrgb(21, 52, 138)
HSLhsl(224, 74%, 31%)
HSVhsv(224, 85%, 54%)
CMYKcmyk(84.8%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.11, 23.26, -50.90)
CIE-LCHlch(25.11, 55.96, 294.56°)
OKLaboklab(36.3% -0.0137 -0.1473)
OKLCHoklch(36.3% 0.148 264.7)
XYZxyz(6.1231, 4.4496, 24.5760)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15348A #8A6B15
analogous
#156E8A #15348A #31158A
triadic
#15348A #8A1534 #348A15
tetradic
#15348A #8A156E #8A6B15 #158A31
square
#15348A #8A156E #8A6B15 #158A31
split-complementary
#15348A #8A3115 #6E8A15
monochromatic
#050C20 #0D2055 #15348A #1D48BF #3965E1

Accessibility & contrast

On white

11.11
#15348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#15348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15348A
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15348A#FFFFFF#000000##FFFFFF
##15348A1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15348a;
/* rgb */ color: rgb(21, 52, 138);
/* oklch */ color: oklch(36.3% 0.148 264.7);
Tailwind
colors: {
  custom: {
    50: '#696bad',
    500: '#15348a',
    950: '#000000',
  },
}
SCSS
$custom: #15348a;
$custom-light: #696bad;
$custom-dark: #000000;
JSON
{
  "hex": "#15348a",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 224.103,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36302,
    "c": 0.14792,
    "h": 264.7
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#15348A
secondary
#BE9C3D
accent
#BF38F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #15348A

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

Preview Lab → · Contrast checker → · Palette generator →

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