#15297C#15297C

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

Color values

HEX#15297C
RGBrgb(21, 41, 124)
HSLhsl(228, 71%, 28%)
HSVhsv(228, 83%, 49%)
CMYKcmyk(83.1%, 66.9%, 0%, 51.4%)
CIE-LABlab(20.83, 25.29, -49.11)
CIE-LCHlch(20.83, 55.24, 297.25°)
OKLaboklab(32.73% -0.0072 -0.1422)
OKLCHoklch(32.73% 0.142 267.1)
XYZxyz(4.7390, 3.2000, 19.4328)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15297C #7C6815
analogous
#155C7C #15297C #35157C
triadic
#15297C #7C1529 #297C15
tetradic
#15297C #7C155C #7C6815 #157C35
square
#15297C #7C155C #7C6815 #157C35
split-complementary
#15297C #7C3515 #5C7C15
monochromatic
#04091A #0C1848 #15297C #1E3AB0 #3051DC

Accessibility & contrast

On white

12.80
#15297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15297C
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15297C#FFFFFF#000000##FFFFFF
##15297C1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15297c;
/* rgb */ color: rgb(21, 41, 124);
/* oklch */ color: oklch(32.7% 0.142 267.1);
Tailwind
colors: {
  custom: {
    50: '#6662a3',
    500: '#15297c',
    950: '#000000',
  },
}
SCSS
$custom: #15297c;
$custom-light: #6662a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15297c",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 228.35,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.14235,
    "h": 267.1
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15297C

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

Preview Lab → · Contrast checker → · Palette generator →

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