#15307F#15307F

#15307F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.138 H 265.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#15307F
RGBrgb(21, 48, 127)
HSLhsl(225, 72%, 29%)
HSVhsv(225, 83%, 50%)
CMYKcmyk(83.5%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.02, 21.59, -47.43)
CIE-LCHlch(23.02, 52.11, 294.47°)
OKLaboklab(34.44% -0.0115 -0.1371)
OKLCHoklch(34.44% 0.138 265.2)
XYZxyz(5.1956, 3.8050, 20.5352)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15307F #7F6415
analogous
#15657F #15307F #2F157F
triadic
#15307F #7F1530 #307F15
tetradic
#15307F #7F1565 #7F6415 #157F2F
square
#15307F #7F1565 #7F6415 #157F2F
split-complementary
#15307F #7F2F15 #657F15
monochromatic
#040A1A #0C1C4A #15307F #1E44B4 #315DDD

Accessibility & contrast

On white

11.92
#15307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15307F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15307F#FFFFFF#000000##FFFFFF
##15307F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15307f;
/* rgb */ color: rgb(21, 48, 127);
/* oklch */ color: oklch(34.4% 0.138 265.2);
Tailwind
colors: {
  custom: {
    50: '#6667a5',
    500: '#15307f',
    950: '#000000',
  },
}
SCSS
$custom: #15307f;
$custom-light: #6667a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15307f",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 224.717,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.13763,
    "h": 265.2
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#15307F
secondary
#B4953C
accent
#C039EE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15307F

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

Preview Lab → · Contrast checker → · Palette generator →

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