#15276A#15276A

#15276A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.119 H 267.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#15276A
RGBrgb(21, 39, 106)
HSLhsl(227, 67%, 25%)
HSVhsv(227, 80%, 42%)
CMYKcmyk(80.2%, 63.2%, 0%, 58.4%)
CIE-LABlab(18.59, 19.38, -41.20)
CIE-LCHlch(18.59, 45.53, 295.20°)
OKLaboklab(30.55% -0.0057 -0.119)
OKLCHoklch(30.55% 0.119 267.3)
XYZxyz(3.6354, 2.6507, 13.9529)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276A #6A5815
analogous
#15526A #15276A #2D156A
triadic
#15276A #6A1527 #276A15
tetradic
#15276A #6A1552 #6A5815 #156A2D
square
#15276A #6A1552 #6A5815 #156A2D
split-complementary
#15276A #6A2D15 #526A15
monochromatic
#05091A #0B1437 #15276A #1F3A9D #294DD0

Accessibility & contrast

On white

13.72
#15276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#15276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15276A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276A#FFFFFF#000000##FFFFFF
##15276A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15276a;
/* rgb */ color: rgb(21, 39, 106);
/* oklch */ color: oklch(30.6% 0.119 267.3);
Tailwind
colors: {
  custom: {
    50: '#616095',
    500: '#15276a',
    950: '#000000',
  },
}
SCSS
$custom: #15276a;
$custom-light: #616095;
$custom-dark: #000000;
JSON
{
  "hex": "#15276a",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 227.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.11916,
    "h": 267.3
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#15276A
secondary
#A18B3A
accent
#C53EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15276A

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

Preview Lab → · Contrast checker → · Palette generator →

#15276A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva