#15267D#15267D

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

Color values

HEX#15267D
RGBrgb(21, 38, 125)
HSLhsl(230, 71%, 29%)
HSVhsv(230, 83%, 49%)
CMYKcmyk(83.2%, 69.6%, 0%, 51%)
CIE-LABlab(20.15, 27.75, -50.86)
CIE-LCHlch(20.15, 57.94, 298.62°)
OKLaboklab(32.26% -0.0057 -0.1473)
OKLCHoklch(32.26% 0.147 267.8)
XYZxyz(4.7028, 3.0258, 19.7342)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15267D #7D6C15
analogous
#155A7D #15267D #38157D
triadic
#15267D #7D1526 #267D15
tetradic
#15267D #7D155A #7D6C15 #157D38
square
#15267D #7D155A #7D6C15 #157D38
split-complementary
#15267D #7D3815 #5A7D15
monochromatic
#04081A #0C1649 #15267D #1E36B1 #304CDC

Accessibility & contrast

On white

13.08
#15267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15267D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15267D#FFFFFF#000000##FFFFFF
##15267D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15267d;
/* rgb */ color: rgb(21, 38, 125);
/* oklch */ color: oklch(32.3% 0.147 267.8);
Tailwind
colors: {
  custom: {
    50: '#6760a4',
    500: '#15267d',
    950: '#000000',
  },
}
SCSS
$custom: #15267d;
$custom-light: #6760a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15267d",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 230.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.14742,
    "h": 267.8
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#15267D
secondary
#B29F3C
accent
#D13AEE
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #15267D

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

Preview Lab → · Contrast checker → · Palette generator →

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