#15276E#15276E

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

Color values

HEX#15276E
RGBrgb(21, 39, 110)
HSLhsl(228, 68%, 26%)
HSVhsv(228, 81%, 43%)
CMYKcmyk(80.9%, 64.5%, 0%, 56.9%)
CIE-LABlab(18.95, 21.03, -43.20)
CIE-LCHlch(18.95, 48.05, 295.96°)
OKLaboklab(30.94% -0.0057 -0.1249)
OKLCHoklch(30.94% 0.125 267.4)
XYZxyz(3.8483, 2.7358, 15.0741)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276E #6E5C15
analogous
#15536E #15276E #2F156E
triadic
#15276E #6E1527 #276E15
tetradic
#15276E #6E1553 #6E5C15 #156E2F
square
#15276E #6E1553 #6E5C15 #156E2F
split-complementary
#15276E #6E2F15 #536E15
monochromatic
#05091A #0B153B #15276E #1F39A1 #294BD5

Accessibility & contrast

On white

13.57
#15276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#15276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15276E
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276E#FFFFFF#000000##FFFFFF
##15276E1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15276e;
/* rgb */ color: rgb(21, 39, 110);
/* oklch */ color: oklch(30.9% 0.125 267.4);
Tailwind
colors: {
  custom: {
    50: '#626098',
    500: '#15276e',
    950: '#000000',
  },
}
SCSS
$custom: #15276e;
$custom-light: #626098;
$custom-dark: #000000;
JSON
{
  "hex": "#15276e",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 227.865,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30939,
    "c": 0.12501,
    "h": 267.4
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#15276E
secondary
#A48F3A
accent
#C83DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #15276E

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

Preview Lab → · Contrast checker → · Palette generator →

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