#15297B#15297B

#15297B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.141 H 267.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#15297B
RGBrgb(21, 41, 123)
HSLhsl(228, 71%, 28%)
HSVhsv(228, 83%, 48%)
CMYKcmyk(82.9%, 66.7%, 0%, 51.8%)
CIE-LABlab(20.73, 24.89, -48.63)
CIE-LCHlch(20.73, 54.63, 297.10°)
OKLaboklab(32.63% -0.0072 -0.1408)
OKLCHoklch(32.63% 0.141 267.1)
XYZxyz(4.6761, 3.1748, 19.1014)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15297B #7B6715
analogous
#155C7B #15297B #34157B
triadic
#15297B #7B1529 #297B15
tetradic
#15297B #7B155C #7B6715 #157B34
square
#15297B #7B155C #7B6715 #157B34
split-complementary
#15297B #7B3415 #5C7B15
monochromatic
#04091A #0C1847 #15297B #1E3AAF #2F51DB

Accessibility & contrast

On white

12.84
#15297B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#15297B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15297B
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15297B#FFFFFF#000000##FFFFFF
##15297B1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #15297b;
/* rgb */ color: rgb(21, 41, 123);
/* oklch */ color: oklch(32.6% 0.141 267.1);
Tailwind
colors: {
  custom: {
    50: '#6662a2',
    500: '#15297b',
    950: '#000000',
  },
}
SCSS
$custom: #15297b;
$custom-light: #6662a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15297b",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 228.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32631,
    "c": 0.14095,
    "h": 267.1
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#15297B
secondary
#B0993B
accent
#CA3AEE
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15297B

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

Preview Lab → · Contrast checker → · Palette generator →

#15297B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva