#15265D#15265D

#15265D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.101 H 266.9°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#15265D
RGBrgb(21, 38, 93)
HSLhsl(226, 63%, 22%)
HSVhsv(226, 77%, 36%)
CMYKcmyk(77.4%, 59.1%, 0%, 63.5%)
CIE-LABlab(17.16, 14.69, -34.97)
CIE-LCHlch(17.16, 37.93, 292.79°)
OKLaboklab(29.13% -0.0054 -0.1007)
OKLCHoklch(29.13% 0.101 266.9)
XYZxyz(2.9775, 2.3357, 10.6477)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15265D #5D4C15
analogous
#154A5D #15265D #28155D
triadic
#15265D #5D1526 #265D15
tetradic
#15265D #5D154A #5D4C15 #155D28
square
#15265D #5D154A #5D4C15 #155D28
split-complementary
#15265D #5D2815 #4A5D15
monochromatic
#060A19 #0A122B #15265D #203A8F #2C4FC1

Accessibility & contrast

On white

14.31
#15265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#15265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15265D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15265D#FFFFFF#000000##FFFFFF
##15265D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15265d;
/* rgb */ color: rgb(21, 38, 93);
/* oklch */ color: oklch(29.1% 0.101 266.9);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#15265d',
    950: '#000000',
  },
}
SCSS
$custom: #15265d;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15265d",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 225.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29128,
    "c": 0.10089,
    "h": 266.9
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#15265D
secondary
#947F39
accent
#BF42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15265D

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

Preview Lab → · Contrast checker → · Palette generator →

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