#15398F#15398F

#15398F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.148 H 263.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#15398F
RGBrgb(21, 57, 143)
HSLhsl(222, 74%, 32%)
HSVhsv(222, 85%, 56%)
CMYKcmyk(85.3%, 60.1%, 0%, 43.9%)
CIE-LABlab(26.93, 21.80, -51.02)
CIE-LCHlch(26.93, 55.49, 293.14°)
OKLaboklab(37.8% -0.0165 -0.1475)
OKLCHoklch(37.8% 0.148 263.6)
XYZxyz(6.7285, 5.0680, 26.6049)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15398F #8F6B15
analogous
#15768F #15398F #2E158F
triadic
#15398F #8F1539 #398F15
tetradic
#15398F #8F1576 #8F6B15 #158F2E
square
#15398F #8F1576 #8F6B15 #158F2E
split-complementary
#15398F #8F2E15 #768F15
monochromatic
#050E24 #0D245A #15398F #1D4EC4 #3C6DE2

Accessibility & contrast

On white

10.43
#15398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15398F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15398F#FFFFFF#000000##FFFFFF
##15398F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #15398f;
/* rgb */ color: rgb(21, 57, 143);
/* oklch */ color: oklch(37.8% 0.148 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a6eb1',
    500: '#15398f',
    950: '#000000',
  },
}
SCSS
$custom: #15398f;
$custom-light: #6a6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#15398f",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 222.295,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.378,
    "c": 0.14847,
    "h": 263.6
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#15398F
secondary
#C29B3E
accent
#BA37F1
background
#F6F6FB
surface
#ECEBF6
border
#C7C6D0
text
#080711
muted
#7A7A80

Preview Lab

Preview with #15398F

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

Preview Lab → · Contrast checker → · Palette generator →

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