#15307E#15307E

#15307E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.136 H 265.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#15307E
RGBrgb(21, 48, 126)
HSLhsl(225, 71%, 29%)
HSVhsv(225, 83%, 49%)
CMYKcmyk(83.3%, 61.9%, 0%, 50.6%)
CIE-LABlab(22.93, 21.18, -46.94)
CIE-LCHlch(22.93, 51.49, 294.28°)
OKLaboklab(34.35% -0.0115 -0.1357)
OKLCHoklch(34.35% 0.136 265.1)
XYZxyz(5.1308, 3.7791, 20.1936)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15307E #7E6315
analogous
#15657E #15307E #2E157E
triadic
#15307E #7E1530 #307E15
tetradic
#15307E #7E1565 #7E6315 #157E2E
square
#15307E #7E1565 #7E6315 #157E2E
split-complementary
#15307E #7E2E15 #657E15
monochromatic
#040A1A #0C1C4A #15307E #1E44B2 #315DDD

Accessibility & contrast

On white

11.96
#15307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#15307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15307E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15307E#FFFFFF#000000##FFFFFF
##15307E1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #15307e;
/* rgb */ color: rgb(21, 48, 126);
/* oklch */ color: oklch(34.3% 0.136 265.1);
Tailwind
colors: {
  custom: {
    50: '#6667a4',
    500: '#15307e',
    950: '#000000',
  },
}
SCSS
$custom: #15307e;
$custom-light: #6667a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15307e",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 224.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.13621,
    "h": 265.1
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#15307E
secondary
#B3943C
accent
#C03AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15307E

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

Preview Lab → · Contrast checker → · Palette generator →

#15307E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva