#15307D#15307D

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

Color values

HEX#15307D
RGBrgb(21, 48, 125)
HSLhsl(224, 71%, 29%)
HSVhsv(224, 83%, 49%)
CMYKcmyk(83.2%, 61.6%, 0%, 51%)
CIE-LABlab(22.84, 20.77, -46.45)
CIE-LCHlch(22.84, 50.88, 294.09°)
OKLaboklab(34.25% -0.0115 -0.1343)
OKLCHoklch(34.25% 0.135 265.1)
XYZxyz(5.0666, 3.7534, 19.8555)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15307D #7D6215
analogous
#15647D #15307D #2E157D
triadic
#15307D #7D1530 #307D15
tetradic
#15307D #7D1564 #7D6215 #157D2E
square
#15307D #7D1564 #7D6215 #157D2E
split-complementary
#15307D #7D2E15 #647D15
monochromatic
#040A1A #0C1C49 #15307D #1E44B1 #305DDC

Accessibility & contrast

On white

11.99
#15307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#15307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15307D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15307D#FFFFFF#000000##FFFFFF
##15307D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15307d;
/* rgb */ color: rgb(21, 48, 125);
/* oklch */ color: oklch(34.3% 0.135 265.1);
Tailwind
colors: {
  custom: {
    50: '#6667a3',
    500: '#15307d',
    950: '#000000',
  },
}
SCSS
$custom: #15307d;
$custom-light: #6667a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15307d",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 224.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.13479,
    "h": 265.1
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#15307D
secondary
#B2933C
accent
#BF3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15307D

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

Preview Lab → · Contrast checker → · Palette generator →

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