#15398E#15398E

#15398E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.147 H 263.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#15398E
RGBrgb(21, 57, 142)
HSLhsl(222, 74%, 32%)
HSVhsv(222, 85%, 56%)
CMYKcmyk(85.2%, 59.9%, 0%, 44.3%)
CIE-LABlab(26.84, 21.40, -50.54)
CIE-LCHlch(26.84, 54.89, 292.94°)
OKLaboklab(37.71% -0.0166 -0.1461)
OKLCHoklch(37.71% 0.147 263.5)
XYZxyz(6.6531, 5.0379, 26.2077)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15398E #8E6A15
analogous
#15768E #15398E #2E158E
triadic
#15398E #8E1539 #398E15
tetradic
#15398E #8E1576 #8E6A15 #158E2E
square
#15398E #8E1576 #8E6A15 #158E2E
split-complementary
#15398E #8E2E15 #768E15
monochromatic
#050E23 #0D2459 #15398E #1D4EC3 #3B6DE2

Accessibility & contrast

On white

10.46
#15398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#15398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15398E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15398E#FFFFFF#000000##FFFFFF
##15398E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #15398e;
/* rgb */ color: rgb(21, 57, 142);
/* oklch */ color: oklch(37.7% 0.147 263.5);
Tailwind
colors: {
  custom: {
    50: '#6a6eb0',
    500: '#15398e',
    950: '#000000',
  },
}
SCSS
$custom: #15398e;
$custom-light: #6a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#15398e",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 222.149,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37709,
    "c": 0.14709,
    "h": 263.5
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#15398E
secondary
#C29A3D
accent
#BA37F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #15398E

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

Preview Lab → · Contrast checker → · Palette generator →

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