#15267E#15267E

#15267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.149 H 267.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#15267E
RGBrgb(21, 38, 126)
HSLhsl(230, 71%, 29%)
HSVhsv(230, 83%, 49%)
CMYKcmyk(83.3%, 69.8%, 0%, 50.6%)
CIE-LABlab(20.25, 28.15, -51.33)
CIE-LCHlch(20.25, 58.54, 298.74°)
OKLaboklab(32.37% -0.0057 -0.1487)
OKLCHoklch(32.37% 0.149 267.8)
XYZxyz(4.7670, 3.0515, 20.0724)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15267E #7E6D15
analogous
#155B7E #15267E #39157E
triadic
#15267E #7E1526 #267E15
tetradic
#15267E #7E155B #7E6D15 #157E39
square
#15267E #7E155B #7E6D15 #157E39
split-complementary
#15267E #7E3915 #5B7E15
monochromatic
#04081A #0C164A #15267E #1E36B2 #314DDD

Accessibility & contrast

On white

13.04
#15267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#15267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15267E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15267E#FFFFFF#000000##FFFFFF
##15267E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15267e;
/* rgb */ color: rgb(21, 38, 126);
/* oklch */ color: oklch(32.4% 0.149 267.8);
Tailwind
colors: {
  custom: {
    50: '#6760a4',
    500: '#15267e',
    950: '#000000',
  },
}
SCSS
$custom: #15267e;
$custom-light: #6760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15267e",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 230.286,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32369,
    "c": 0.14878,
    "h": 267.8
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#15267E
secondary
#B3A03C
accent
#D13AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15267E

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

Preview Lab → · Contrast checker → · Palette generator →

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