#15276B#15276B

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

Color values

HEX#15276B
RGBrgb(21, 39, 107)
HSLhsl(227, 67%, 25%)
HSVhsv(227, 80%, 42%)
CMYKcmyk(80.4%, 63.6%, 0%, 58%)
CIE-LABlab(18.68, 19.80, -41.70)
CIE-LCHlch(18.68, 46.16, 295.39°)
OKLaboklab(30.65% -0.0057 -0.1205)
OKLCHoklch(30.65% 0.121 267.3)
XYZxyz(3.6877, 2.6716, 14.2284)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276B #6B5915
analogous
#15526B #15276B #2E156B
triadic
#15276B #6B1527 #276B15
tetradic
#15276B #6B1552 #6B5915 #156B2E
square
#15276B #6B1552 #6B5915 #156B2E
split-complementary
#15276B #6B2E15 #526B15
monochromatic
#05091A #0B1438 #15276B #1F3A9E #294CD1

Accessibility & contrast

On white

13.69
#15276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15276B
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276B#FFFFFF#000000##FFFFFF
##15276B1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15276b;
/* rgb */ color: rgb(21, 39, 107);
/* oklch */ color: oklch(30.6% 0.121 267.3);
Tailwind
colors: {
  custom: {
    50: '#626096',
    500: '#15276b',
    950: '#000000',
  },
}
SCSS
$custom: #15276b;
$custom-light: #626096;
$custom-dark: #000000;
JSON
{
  "hex": "#15276b",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 227.442,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30648,
    "c": 0.12062,
    "h": 267.3
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#15276B
secondary
#A28C3A
accent
#C63EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #15276B

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

Preview Lab → · Contrast checker → · Palette generator →

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