#15297D#15297D

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

Color values

HEX#15297D
RGBrgb(21, 41, 125)
HSLhsl(228, 71%, 29%)
HSVhsv(228, 83%, 49%)
CMYKcmyk(83.2%, 67.2%, 0%, 51%)
CIE-LABlab(20.92, 25.69, -49.58)
CIE-LCHlch(20.92, 55.84, 297.39°)
OKLaboklab(32.83% -0.0073 -0.1436)
OKLCHoklch(32.83% 0.144 267.1)
XYZxyz(4.8026, 3.2254, 19.7675)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15297D #7D6915
analogous
#155D7D #15297D #35157D
triadic
#15297D #7D1529 #297D15
tetradic
#15297D #7D155D #7D6915 #157D35
square
#15297D #7D155D #7D6915 #157D35
split-complementary
#15297D #7D3515 #5D7D15
monochromatic
#04091A #0C1849 #15297D #1E3AB1 #3051DC

Accessibility & contrast

On white

12.76
#15297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#15297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15297D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15297D#FFFFFF#000000##FFFFFF
##15297D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #15297d;
/* rgb */ color: rgb(21, 41, 125);
/* oklch */ color: oklch(32.8% 0.144 267.1);
Tailwind
colors: {
  custom: {
    50: '#6762a4',
    500: '#15297d',
    950: '#000000',
  },
}
SCSS
$custom: #15297d;
$custom-light: #6762a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15297d",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 228.462,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.14374,
    "h": 267.1
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#15297D
secondary
#B29B3C
accent
#CB3AEE
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15297D

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

Preview Lab → · Contrast checker → · Palette generator →

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