#15276D#15276D

#15276D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.124 H 267.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#15276D
RGBrgb(21, 39, 109)
HSLhsl(228, 68%, 25%)
HSVhsv(228, 81%, 43%)
CMYKcmyk(80.7%, 64.2%, 0%, 57.3%)
CIE-LABlab(18.86, 20.62, -42.70)
CIE-LCHlch(18.86, 47.42, 295.77°)
OKLaboklab(30.84% -0.0057 -0.1234)
OKLCHoklch(30.84% 0.124 267.4)
XYZxyz(3.7941, 2.7142, 14.7890)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276D #6D5B15
analogous
#15536D #15276D #2F156D
triadic
#15276D #6D1527 #276D15
tetradic
#15276D #6D1553 #6D5B15 #156D2F
square
#15276D #6D1553 #6D5B15 #156D2F
split-complementary
#15276D #6D2F15 #536D15
monochromatic
#05091A #0B153A #15276D #1F39A0 #294CD4

Accessibility & contrast

On white

13.61
#15276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15276D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276D#FFFFFF#000000##FFFFFF
##15276D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15276d;
/* rgb */ color: rgb(21, 39, 109);
/* oklch */ color: oklch(30.8% 0.124 267.4);
Tailwind
colors: {
  custom: {
    50: '#626098',
    500: '#15276d',
    950: '#000000',
  },
}
SCSS
$custom: #15276d;
$custom-light: #626098;
$custom-dark: #000000;
JSON
{
  "hex": "#15276d",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 227.727,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.12356,
    "h": 267.4
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#15276D
secondary
#A38E3A
accent
#C73DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15276D

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

Preview Lab → · Contrast checker → · Palette generator →

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