#15267A#15267A

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

Color values

HEX#15267A
RGBrgb(21, 38, 122)
HSLhsl(230, 71%, 28%)
HSVhsv(230, 83%, 48%)
CMYKcmyk(82.8%, 68.9%, 0%, 52.2%)
CIE-LABlab(19.84, 26.57, -49.45)
CIE-LCHlch(19.84, 56.14, 298.25°)
OKLaboklab(31.95% -0.0055 -0.1432)
OKLCHoklch(31.95% 0.143 267.8)
XYZxyz(4.5140, 2.9503, 18.7401)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15267A #7A6915
analogous
#15587A #15267A #36157A
triadic
#15267A #7A1526 #267A15
tetradic
#15267A #7A1558 #7A6915 #157A36
square
#15267A #7A1558 #7A6915 #157A36
split-complementary
#15267A #7A3615 #587A15
monochromatic
#04081A #0C1646 #15267A #1E36AE #2E4BDB

Accessibility & contrast

On white

13.21
#15267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#15267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15267A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15267A#FFFFFF#000000##FFFFFF
##15267A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #15267a;
/* rgb */ color: rgb(21, 38, 122);
/* oklch */ color: oklch(31.9% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#6660a1',
    500: '#15267a',
    950: '#000000',
  },
}
SCSS
$custom: #15267a;
$custom-light: #6660a1;
$custom-dark: #000000;
JSON
{
  "hex": "#15267a",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 229.901,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3195,
    "c": 0.14329,
    "h": 267.8
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#15267A
secondary
#AF9C3B
accent
#CF3AED
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15267A

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

Preview Lab → · Contrast checker → · Palette generator →

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