#15307B#15307B

#15307B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.132 H 264.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#15307B
RGBrgb(21, 48, 123)
HSLhsl(224, 71%, 28%)
HSVhsv(224, 83%, 48%)
CMYKcmyk(82.9%, 61%, 0%, 51.8%)
CIE-LABlab(22.66, 19.94, -45.47)
CIE-LCHlch(22.66, 49.65, 293.68°)
OKLaboklab(34.07% -0.0116 -0.1314)
OKLCHoklch(34.07% 0.132 264.9)
XYZxyz(4.9401, 3.7028, 19.1894)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15307B #7B6015
analogous
#15637B #15307B #2D157B
triadic
#15307B #7B1530 #307B15
tetradic
#15307B #7B1563 #7B6015 #157B2D
square
#15307B #7B1563 #7B6015 #157B2D
split-complementary
#15307B #7B2D15 #637B15
monochromatic
#040A1A #0C1C47 #15307B #1E44AF #2F5DDB

Accessibility & contrast

On white

12.06
#15307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#15307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15307B
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15307B#FFFFFF#000000##FFFFFF
##15307B1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #15307b;
/* rgb */ color: rgb(21, 48, 123);
/* oklch */ color: oklch(34.1% 0.132 264.9);
Tailwind
colors: {
  custom: {
    50: '#6567a2',
    500: '#15307b',
    950: '#000000',
  },
}
SCSS
$custom: #15307b;
$custom-light: #6567a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15307b",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 224.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34067,
    "c": 0.13192,
    "h": 264.9
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#15307B
secondary
#B0913B
accent
#BE3AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15307B

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

Preview Lab → · Contrast checker → · Palette generator →

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