#15306F#15306F

#15306F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.114 H 263.8°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#15306F
RGBrgb(21, 48, 111)
HSLhsl(222, 68%, 26%)
HSVhsv(222, 81%, 44%)
CMYKcmyk(81.1%, 56.8%, 0%, 56.5%)
CIE-LABlab(21.65, 14.95, -39.45)
CIE-LCHlch(21.65, 42.18, 290.75°)
OKLaboklab(32.99% -0.0124 -0.1137)
OKLCHoklch(32.99% 0.114 263.8)
XYZxyz(4.2344, 3.4205, 15.4729)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15306F #6F5415
analogous
#155D6F #15306F #27156F
triadic
#15306F #6F1530 #306F15
tetradic
#15306F #6F155D #6F5415 #156F27
square
#15306F #6F155D #6F5415 #156F27
split-complementary
#15306F #6F2715 #5D6F15
monochromatic
#050B1A #0B1A3C #15306F #1F46A2 #285DD6

Accessibility & contrast

On white

12.47
#15306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#15306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15306F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15306F#FFFFFF#000000##FFFFFF
##15306F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15306f;
/* rgb */ color: rgb(21, 48, 111);
/* oklch */ color: oklch(33.0% 0.114 263.8);
Tailwind
colors: {
  custom: {
    50: '#626799',
    500: '#15306f',
    950: '#000000',
  },
}
SCSS
$custom: #15306f;
$custom-light: #626799;
$custom-dark: #000000;
JSON
{
  "hex": "#15306f",
  "rgb": {
    "r": 21,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 222,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.11439,
    "h": 263.8
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#15306F
secondary
#A5853A
accent
#B73DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #15306F

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

Preview Lab → · Contrast checker → · Palette generator →

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