#15358A#15358A

#15358A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.147 H 264.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#15358A
RGBrgb(21, 53, 138)
HSLhsl(224, 74%, 31%)
HSVhsv(224, 85%, 54%)
CMYKcmyk(84.8%, 61.6%, 0%, 45.9%)
CIE-LABlab(25.38, 22.56, -50.45)
CIE-LCHlch(25.38, 55.26, 294.09°)
OKLaboklab(36.51% -0.0143 -0.1459)
OKLCHoklch(36.51% 0.147 264.4)
XYZxyz(6.1682, 4.5399, 24.5910)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15358A #8A6A15
analogous
#156F8A #15358A #2F158A
triadic
#15358A #8A1535 #358A15
tetradic
#15358A #8A156F #8A6A15 #158A2F
square
#15358A #8A156F #8A6A15 #158A2F
split-complementary
#15358A #8A2F15 #6F8A15
monochromatic
#050C20 #0D2155 #15358A #1D49BF #3967E1

Accessibility & contrast

On white

11.01
#15358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#15358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15358A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15358A#FFFFFF#000000##FFFFFF
##15358A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15358a;
/* rgb */ color: rgb(21, 53, 138);
/* oklch */ color: oklch(36.5% 0.147 264.4);
Tailwind
colors: {
  custom: {
    50: '#696bad',
    500: '#15358a',
    950: '#000000',
  },
}
SCSS
$custom: #15358a;
$custom-light: #696bad;
$custom-dark: #000000;
JSON
{
  "hex": "#15358a",
  "rgb": {
    "r": 21,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 223.59,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.14664,
    "h": 264.4
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#15358A
secondary
#BE9B3D
accent
#BE38F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #15358A

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

Preview Lab → · Contrast checker → · Palette generator →

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