#15307C#15307C

#15307C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.133 H 265.0°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#15307C
RGBrgb(21, 48, 124)
HSLhsl(224, 71%, 28%)
HSVhsv(224, 83%, 49%)
CMYKcmyk(83.1%, 61.3%, 0%, 51.4%)
CIE-LABlab(22.75, 20.35, -45.96)
CIE-LCHlch(22.75, 50.27, 293.89°)
OKLaboklab(34.16% -0.0116 -0.1329)
OKLCHoklch(34.16% 0.133 265)
XYZxyz(5.0030, 3.7280, 19.5208)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15307C #7C6115
analogous
#15637C #15307C #2D157C
triadic
#15307C #7C1530 #307C15
tetradic
#15307C #7C1563 #7C6115 #157C2D
square
#15307C #7C1563 #7C6115 #157C2D
split-complementary
#15307C #7C2D15 #637C15
monochromatic
#040A1A #0C1C48 #15307C #1E44B0 #305DDC

Accessibility & contrast

On white

12.03
#15307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15307C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15307C#FFFFFF#000000##FFFFFF
##15307C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15307c;
/* rgb */ color: rgb(21, 48, 124);
/* oklch */ color: oklch(34.2% 0.133 265.0);
Tailwind
colors: {
  custom: {
    50: '#6667a3',
    500: '#15307c',
    950: '#000000',
  },
}
SCSS
$custom: #15307c;
$custom-light: #6667a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15307c",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 224.272,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.13336,
    "h": 265
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15307C

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

Preview Lab → · Contrast checker → · Palette generator →

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