#15276F#15276F

#15276F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.0% C 0.126 H 267.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#15276F
RGBrgb(21, 39, 111)
HSLhsl(228, 68%, 26%)
HSVhsv(228, 81%, 44%)
CMYKcmyk(81.1%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.05, 21.44, -43.69)
CIE-LCHlch(19.05, 48.67, 296.14°)
OKLaboklab(31.04% -0.0057 -0.1263)
OKLCHoklch(31.04% 0.126 267.4)
XYZxyz(3.9030, 2.7577, 15.3624)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15276F #6F5D15
analogous
#15546F #15276F #30156F
triadic
#15276F #6F1527 #276F15
tetradic
#15276F #6F1554 #6F5D15 #156F30
square
#15276F #6F1554 #6F5D15 #156F30
split-complementary
#15276F #6F3015 #546F15
monochromatic
#05091A #0B153C #15276F #1F39A2 #284BD6

Accessibility & contrast

On white

13.53
#15276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15276F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15276F#FFFFFF#000000##FFFFFF
##15276F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #15276f;
/* rgb */ color: rgb(21, 39, 111);
/* oklch */ color: oklch(31.0% 0.126 267.4);
Tailwind
colors: {
  custom: {
    50: '#636099',
    500: '#15276f',
    950: '#000000',
  },
}
SCSS
$custom: #15276f;
$custom-light: #636099;
$custom-dark: #000000;
JSON
{
  "hex": "#15276f",
  "rgb": {
    "r": 21,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 228,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.12647,
    "h": 267.4
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15276F

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

Preview Lab → · Contrast checker → · Palette generator →

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