#15308E#15308E

#15308E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.158 H 265.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#15308E
RGBrgb(21, 48, 142)
HSLhsl(227, 74%, 32%)
HSVhsv(227, 85%, 56%)
CMYKcmyk(85.2%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.40, 27.63, -54.53)
CIE-LCHlch(24.40, 61.13, 296.87°)
OKLaboklab(35.89% -0.0115 -0.158)
OKLCHoklch(35.89% 0.158 265.8)
XYZxyz(6.2470, 4.2256, 26.0723)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15308E #8E7315
analogous
#156C8E #15308E #37158E
triadic
#15308E #8E1530 #308E15
tetradic
#15308E #8E156C #8E7315 #158E37
square
#15308E #8E156C #8E7315 #158E37
split-complementary
#15308E #8E3715 #6C8E15
monochromatic
#050C23 #0D1E59 #15308E #1D42C3 #3B61E2

Accessibility & contrast

On white

11.38
#15308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15308E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15308E#FFFFFF#000000##FFFFFF
##15308E1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #15308e;
/* rgb */ color: rgb(21, 48, 142);
/* oklch */ color: oklch(35.9% 0.158 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b68b0',
    500: '#15308e',
    950: '#000000',
  },
}
SCSS
$custom: #15308e;
$custom-light: #6b68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15308e",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 226.612,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.15838,
    "h": 265.8
  },
  "luminance": 0.04226
}

Semantic roles & 50–950 ramp

primary
#15308E
secondary
#C2A43D
accent
#C737F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #15308E

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

Preview Lab → · Contrast checker → · Palette generator →

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