#15348F#15348F

#15348F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.155 H 264.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#15348F
RGBrgb(21, 52, 143)
HSLhsl(225, 74%, 32%)
HSVhsv(225, 85%, 56%)
CMYKcmyk(85.3%, 63.6%, 0%, 43.9%)
CIE-LABlab(25.56, 25.28, -53.26)
CIE-LCHlch(25.56, 58.96, 295.39°)
OKLaboklab(36.78% -0.0136 -0.1542)
OKLCHoklch(36.78% 0.155 264.9)
XYZxyz(6.4934, 4.5978, 26.5265)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15348F #8F7015
analogous
#15718F #15348F #33158F
triadic
#15348F #8F1534 #348F15
tetradic
#15348F #8F1571 #8F7015 #158F33
square
#15348F #8F1571 #8F7015 #158F33
split-complementary
#15348F #8F3315 #718F15
monochromatic
#050D24 #0D215A #15348F #1D47C4 #3C66E2

Accessibility & contrast

On white

10.94
#15348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#15348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15348F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15348F#FFFFFF#000000##FFFFFF
##15348F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #15348f;
/* rgb */ color: rgb(21, 52, 143);
/* oklch */ color: oklch(36.8% 0.155 264.9);
Tailwind
colors: {
  custom: {
    50: '#6b6bb1',
    500: '#15348f',
    950: '#000000',
  },
}
SCSS
$custom: #15348f;
$custom-light: #6b6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#15348f",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 224.754,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.1548,
    "h": 264.9
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#15348F
secondary
#C2A03E
accent
#C237F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15348F

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

Preview Lab → · Contrast checker → · Palette generator →

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