#15267F#15267F

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

Color values

HEX#15267F
RGBrgb(21, 38, 127)
HSLhsl(230, 72%, 29%)
HSVhsv(230, 83%, 50%)
CMYKcmyk(83.5%, 70.1%, 0%, 50.2%)
CIE-LABlab(20.35, 28.54, -51.79)
CIE-LCHlch(20.35, 59.13, 298.85°)
OKLaboklab(32.48% -0.0058 -0.15)
OKLCHoklch(32.48% 0.15 267.8)
XYZxyz(4.8318, 3.0774, 20.4139)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15267F #7F6E15
analogous
#155B7F #15267F #39157F
triadic
#15267F #7F1526 #267F15
tetradic
#15267F #7F155B #7F6E15 #157F39
square
#15267F #7F155B #7F6E15 #157F39
split-complementary
#15267F #7F3915 #5B7F15
monochromatic
#04081A #0C164A #15267F #1E36B4 #314DDD

Accessibility & contrast

On white

13.00
#15267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#15267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15267F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15267F#FFFFFF#000000##FFFFFF
##15267F1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15267f;
/* rgb */ color: rgb(21, 38, 127);
/* oklch */ color: oklch(32.5% 0.150 267.8);
Tailwind
colors: {
  custom: {
    50: '#6760a5',
    500: '#15267f',
    950: '#000000',
  },
}
SCSS
$custom: #15267f;
$custom-light: #6760a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15267f",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 230.377,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.15014,
    "h": 267.8
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#15267F
secondary
#B4A13C
accent
#D139EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15267F

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

Preview Lab → · Contrast checker → · Palette generator →

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