#15266C#15266C

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

Color values

HEX#15266C
RGBrgb(21, 38, 108)
HSLhsl(228, 67%, 25%)
HSVhsv(228, 81%, 42%)
CMYKcmyk(80.6%, 64.8%, 0%, 57.6%)
CIE-LABlab(18.49, 20.93, -42.66)
CIE-LCHlch(18.49, 47.52, 296.13°)
OKLaboklab(30.54% -0.005 -0.1233)
OKLCHoklch(30.54% 0.123 267.7)
XYZxyz(3.7082, 2.6280, 14.4963)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15266C #6C5B15
analogous
#15516C #15266C #2F156C
triadic
#15266C #6C1526 #266C15
tetradic
#15266C #6C1551 #6C5B15 #156C2F
square
#15266C #6C1551 #6C5B15 #156C2F
split-complementary
#15266C #6C2F15 #516C15
monochromatic
#05091A #0B1439 #15266C #1F389F #294AD2

Accessibility & contrast

On white

13.77
#15266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#15266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15266C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15266C#FFFFFF#000000##FFFFFF
##15266C1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15266c;
/* rgb */ color: rgb(21, 38, 108);
/* oklch */ color: oklch(30.5% 0.123 267.7);
Tailwind
colors: {
  custom: {
    50: '#626097',
    500: '#15266c',
    950: '#000000',
  },
}
SCSS
$custom: #15266c;
$custom-light: #626097;
$custom-dark: #000000;
JSON
{
  "hex": "#15266c",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 228.276,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30536,
    "c": 0.12342,
    "h": 267.7
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#15266C
secondary
#A38E3A
accent
#C93DEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15266C

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

Preview Lab → · Contrast checker → · Palette generator →

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