#15398D#15398D

#15398D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.146 H 263.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#15398D
RGBrgb(21, 57, 141)
HSLhsl(222, 74%, 32%)
HSVhsv(222, 85%, 55%)
CMYKcmyk(85.1%, 59.6%, 0%, 44.7%)
CIE-LABlab(26.76, 20.99, -50.06)
CIE-LCHlch(26.76, 54.29, 292.75°)
OKLaboklab(37.62% -0.0166 -0.1447)
OKLCHoklch(37.62% 0.146 263.4)
XYZxyz(6.5784, 5.0080, 25.8141)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15398D #8D6915
analogous
#15758D #15398D #2D158D
triadic
#15398D #8D1539 #398D15
tetradic
#15398D #8D1575 #8D6915 #158D2D
square
#15398D #8D1575 #8D6915 #158D2D
split-complementary
#15398D #8D2D15 #758D15
monochromatic
#050E22 #0D2358 #15398D #1D4FC2 #3B6DE2

Accessibility & contrast

On white

10.49
#15398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#15398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15398D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15398D#FFFFFF#000000##FFFFFF
##15398D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #15398d;
/* rgb */ color: rgb(21, 57, 141);
/* oklch */ color: oklch(37.6% 0.146 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a6eaf',
    500: '#15398d',
    950: '#000000',
  },
}
SCSS
$custom: #15398d;
$custom-light: #6a6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#15398d",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 222,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.14569,
    "h": 263.4
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#15398D
secondary
#C1993D
accent
#B937F1
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #15398D

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

Preview Lab → · Contrast checker → · Palette generator →

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