#15267B#15267B

#15267B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.145 H 267.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#15267B
RGBrgb(21, 38, 123)
HSLhsl(230, 71%, 28%)
HSVhsv(230, 83%, 48%)
CMYKcmyk(82.9%, 69.1%, 0%, 51.8%)
CIE-LABlab(19.94, 26.97, -49.92)
CIE-LCHlch(19.94, 56.74, 298.38°)
OKLaboklab(32.05% -0.0055 -0.1446)
OKLCHoklch(32.05% 0.145 267.8)
XYZxyz(4.5763, 2.9752, 19.0681)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15267B #7B6A15
analogous
#15597B #15267B #37157B
triadic
#15267B #7B1526 #267B15
tetradic
#15267B #7B1559 #7B6A15 #157B37
square
#15267B #7B1559 #7B6A15 #157B37
split-complementary
#15267B #7B3715 #597B15
monochromatic
#04081A #0C1647 #15267B #1E36AF #2F4CDB

Accessibility & contrast

On white

13.16
#15267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#15267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15267B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15267B#FFFFFF#000000##FFFFFF
##15267B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #15267b;
/* rgb */ color: rgb(21, 38, 123);
/* oklch */ color: oklch(32.1% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#6660a2',
    500: '#15267b',
    950: '#000000',
  },
}
SCSS
$custom: #15267b;
$custom-light: #6660a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15267b",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 230,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.14468,
    "h": 267.8
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#15267B
secondary
#B09D3B
accent
#D03AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15267B

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

Preview Lab → · Contrast checker → · Palette generator →

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