#15276C#15276C

#15276C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.7% C 0.122 H 267.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#15276C
RGBrgb(21, 39, 108)
HSLhsl(228, 67%, 25%)
HSVhsv(228, 81%, 42%)
CMYKcmyk(80.6%, 63.9%, 0%, 57.6%)
CIE-LABlab(18.77, 20.21, -42.20)
CIE-LCHlch(18.77, 46.79, 295.59°)
OKLaboklab(30.75% -0.0057 -0.122)
OKLCHoklch(30.75% 0.122 267.3)
XYZxyz(3.7406, 2.6928, 14.5071)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276C #6C5A15
analogous
#15526C #15276C #2E156C
triadic
#15276C #6C1527 #276C15
tetradic
#15276C #6C1552 #6C5A15 #156C2E
square
#15276C #6C1552 #6C5A15 #156C2E
split-complementary
#15276C #6C2E15 #526C15
monochromatic
#05091A #0B1439 #15276C #1F3A9F #294CD2

Accessibility & contrast

On white

13.65
#15276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#15276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15276C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276C#FFFFFF#000000##FFFFFF
##15276C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15276c;
/* rgb */ color: rgb(21, 39, 108);
/* oklch */ color: oklch(30.7% 0.122 267.3);
Tailwind
colors: {
  custom: {
    50: '#626097',
    500: '#15276c',
    950: '#000000',
  },
}
SCSS
$custom: #15276c;
$custom-light: #626097;
$custom-dark: #000000;
JSON
{
  "hex": "#15276c",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 227.586,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30745,
    "c": 0.12209,
    "h": 267.3
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#15276C
secondary
#A38D3A
accent
#C73DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15276C

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

Preview Lab → · Contrast checker → · Palette generator →

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