#15306C#15306C

#15306C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.110 H 263.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#15306C
RGBrgb(21, 48, 108)
HSLhsl(221, 67%, 25%)
HSVhsv(221, 81%, 42%)
CMYKcmyk(80.6%, 55.6%, 0%, 57.6%)
CIE-LABlab(21.42, 13.68, -37.90)
CIE-LCHlch(21.42, 40.29, 289.85°)
OKLaboklab(32.73% -0.0127 -0.1092)
OKLCHoklch(32.73% 0.11 263.3)
XYZxyz(4.0720, 3.3556, 14.6175)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15306C #6C5115
analogous
#155C6C #15306C #25156C
triadic
#15306C #6C1530 #306C15
tetradic
#15306C #6C155C #6C5115 #156C25
square
#15306C #6C155C #6C5115 #156C25
split-complementary
#15306C #6C2515 #5C6C15
monochromatic
#050B1A #0B1939 #15306C #1F479F #295ED2

Accessibility & contrast

On white

12.57
#15306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#15306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15306C
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15306C#FFFFFF#000000##FFFFFF
##15306C1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05386E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #15306c;
/* rgb */ color: rgb(21, 48, 108);
/* oklch */ color: oklch(32.7% 0.110 263.3);
Tailwind
colors: {
  custom: {
    50: '#616797',
    500: '#15306c',
    950: '#000000',
  },
}
SCSS
$custom: #15306c;
$custom-light: #616797;
$custom-dark: #000000;
JSON
{
  "hex": "#15306c",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 221.379,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.1099,
    "h": 263.3
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#15306C
secondary
#A3823A
accent
#B53DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15306C

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

Preview Lab → · Contrast checker → · Palette generator →

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