#15308F#15308F

#15308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.160 H 265.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#15308F
RGBrgb(21, 48, 143)
HSLhsl(227, 74%, 32%)
HSVhsv(227, 85%, 56%)
CMYKcmyk(85.3%, 66.4%, 0%, 43.9%)
CIE-LABlab(24.50, 28.02, -55.00)
CIE-LCHlch(24.50, 61.72, 297.00°)
OKLaboklab(35.99% -0.0115 -0.1593)
OKLCHoklch(35.99% 0.16 265.9)
XYZxyz(6.3224, 4.2557, 26.4695)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15308F #8F7415
analogous
#156D8F #15308F #37158F
triadic
#15308F #8F1530 #308F15
tetradic
#15308F #8F156D #8F7415 #158F37
square
#15308F #8F156D #8F7415 #158F37
split-complementary
#15308F #8F3715 #6D8F15
monochromatic
#050C24 #0D1E5A #15308F #1D42C4 #3C61E2

Accessibility & contrast

On white

11.34
#15308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#15308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15308F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15308F#FFFFFF#000000##FFFFFF
##15308F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #15308f;
/* rgb */ color: rgb(21, 48, 143);
/* oklch */ color: oklch(36.0% 0.160 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b68b1',
    500: '#15308f',
    950: '#000000',
  },
}
SCSS
$custom: #15308f;
$custom-light: #6b68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#15308f",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 226.721,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.15973,
    "h": 265.9
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#15308F
secondary
#C2A53E
accent
#C837F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15308F

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

Preview Lab → · Contrast checker → · Palette generator →

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