#15298D#15298D

#15298D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.165 H 267.1°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#15298D
RGBrgb(21, 41, 141)
HSLhsl(230, 74%, 32%)
HSVhsv(230, 85%, 55%)
CMYKcmyk(85.1%, 70.9%, 0%, 44.7%)
CIE-LABlab(22.54, 31.94, -56.98)
CIE-LCHlch(22.54, 65.32, 299.28°)
OKLaboklab(34.5% -0.0083 -0.1651)
OKLCHoklch(34.5% 0.165 267.1)
XYZxyz(5.9082, 3.6677, 25.5907)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15298D #8D7915
analogous
#15658D #15298D #3D158D
triadic
#15298D #8D1529 #298D15
tetradic
#15298D #8D1565 #8D7915 #158D3D
square
#15298D #8D1565 #8D7915 #158D3D
split-complementary
#15298D #8D3D15 #658D15
monochromatic
#050A22 #0D1A58 #15298D #1D38C2 #3B56E2

Accessibility & contrast

On white

12.11
#15298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#15298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15298D
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15298D#FFFFFF#000000##FFFFFF
##15298D1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15298d;
/* rgb */ color: rgb(21, 41, 141);
/* oklch */ color: oklch(34.5% 0.165 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b63af',
    500: '#15298d',
    950: '#000000',
  },
}
SCSS
$custom: #15298d;
$custom-light: #6b63af;
$custom-dark: #000000;
JSON
{
  "hex": "#15298d",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 230,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34503,
    "c": 0.16534,
    "h": 267.1
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#15298D
secondary
#C1AB3D
accent
#D237F1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #15298D

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

Preview Lab → · Contrast checker → · Palette generator →

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