#15266B#15266B

#15266B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.122 H 267.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#15266B
RGBrgb(21, 38, 107)
HSLhsl(228, 67%, 25%)
HSVhsv(228, 80%, 42%)
CMYKcmyk(80.4%, 64.5%, 0%, 58%)
CIE-LABlab(18.39, 20.52, -42.16)
CIE-LCHlch(18.39, 46.89, 295.95°)
OKLaboklab(30.44% -0.005 -0.1219)
OKLCHoklch(30.44% 0.122 267.7)
XYZxyz(3.6553, 2.6068, 14.2176)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15266B #6B5A15
analogous
#15516B #15266B #2F156B
triadic
#15266B #6B1526 #266B15
tetradic
#15266B #6B1551 #6B5A15 #156B2F
square
#15266B #6B1551 #6B5A15 #156B2F
split-complementary
#15266B #6B2F15 #516B15
monochromatic
#05091A #0B1438 #15266B #1F389E #294AD1

Accessibility & contrast

On white

13.80
#15266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#15266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15266B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15266B#FFFFFF#000000##FFFFFF
##15266B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15266b;
/* rgb */ color: rgb(21, 38, 107);
/* oklch */ color: oklch(30.4% 0.122 267.7);
Tailwind
colors: {
  custom: {
    50: '#626096',
    500: '#15266b',
    950: '#000000',
  },
}
SCSS
$custom: #15266b;
$custom-light: #626096;
$custom-dark: #000000;
JSON
{
  "hex": "#15266b",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 228.14,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30438,
    "c": 0.12196,
    "h": 267.7
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#15266B
secondary
#A28D3A
accent
#C83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15266B

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

Preview Lab → · Contrast checker → · Palette generator →

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