#15358E#15358E

#15358E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.152 H 264.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#15358E
RGBrgb(21, 53, 142)
HSLhsl(224, 74%, 32%)
HSVhsv(224, 85%, 56%)
CMYKcmyk(85.2%, 62.7%, 0%, 44.3%)
CIE-LABlab(25.74, 24.18, -52.35)
CIE-LCHlch(25.74, 57.66, 294.79°)
OKLaboklab(36.88% -0.0142 -0.1515)
OKLCHoklch(36.88% 0.152 264.6)
XYZxyz(6.4631, 4.6578, 26.1444)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15358E #8E6E15
analogous
#15728E #15358E #31158E
triadic
#15358E #8E1535 #358E15
tetradic
#15358E #8E1572 #8E6E15 #158E31
square
#15358E #8E1572 #8E6E15 #158E31
split-complementary
#15358E #8E3115 #728E15
monochromatic
#050D23 #0D2159 #15358E #1D49C3 #3B67E2

Accessibility & contrast

On white

10.87
#15358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#15358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15358E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15358E#FFFFFF#000000##FFFFFF
##15358E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15358e;
/* rgb */ color: rgb(21, 53, 142);
/* oklch */ color: oklch(36.9% 0.152 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6bb0',
    500: '#15358e',
    950: '#000000',
  },
}
SCSS
$custom: #15358e;
$custom-light: #6a6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#15358e",
  "rgb": {
    "r": 21,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 224.132,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.15217,
    "h": 264.6
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#15358E
secondary
#C29F3D
accent
#C037F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080611
muted
#7A7A80

Preview Lab

Preview with #15358E

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

Preview Lab → · Contrast checker → · Palette generator →

#15358E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva