#15398A#15398A

#15398A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.141 H 263.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#15398A
RGBrgb(21, 57, 138)
HSLhsl(222, 74%, 31%)
HSVhsv(222, 85%, 54%)
CMYKcmyk(84.8%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.51, 19.76, -48.62)
CIE-LCHlch(26.51, 52.48, 292.12°)
OKLaboklab(37.35% -0.0168 -0.1405)
OKLCHoklch(37.35% 0.141 263.2)
XYZxyz(6.3582, 4.9199, 24.6544)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15398A #8A6615
analogous
#15738A #15398A #2B158A
triadic
#15398A #8A1539 #398A15
tetradic
#15398A #8A1573 #8A6615 #158A2B
square
#15398A #8A1573 #8A6615 #158A2B
split-complementary
#15398A #8A2B15 #738A15
monochromatic
#050D20 #0D2355 #15398A #1D4FBF #396CE1

Accessibility & contrast

On white

10.58
#15398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#15398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15398A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15398A#FFFFFF#000000##FFFFFF
##15398A1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #15398a;
/* rgb */ color: rgb(21, 57, 138);
/* oklch */ color: oklch(37.4% 0.141 263.2);
Tailwind
colors: {
  custom: {
    50: '#696ead',
    500: '#15398a',
    950: '#000000',
  },
}
SCSS
$custom: #15398a;
$custom-light: #696ead;
$custom-dark: #000000;
JSON
{
  "hex": "#15398a",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 221.538,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.14149,
    "h": 263.2
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#15398A
secondary
#BE963D
accent
#B738F0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #15398A

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

Preview Lab → · Contrast checker → · Palette generator →

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