#15295F#15295F

#15295F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.100 H 265.4°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#15295F
RGBrgb(21, 41, 95)
HSLhsl(224, 64%, 23%)
HSVhsv(224, 78%, 37%)
CMYKcmyk(77.9%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.24, 13.32, -34.55)
CIE-LCHlch(18.24, 37.03, 291.08°)
OKLaboklab(29.99% -0.008 -0.0994)
OKLCHoklch(29.99% 0.1 265.4)
XYZxyz(3.1670, 2.5712, 11.1536)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15295F #5F4B15
analogous
#154E5F #15295F #26155F
triadic
#15295F #5F1529 #295F15
tetradic
#15295F #5F154E #5F4B15 #155F26
square
#15295F #5F154E #5F4B15 #155F26
split-complementary
#15295F #5F2615 #4E5F15
monochromatic
#060B19 #0A132D #15295F #203F91 #2B54C3

Accessibility & contrast

On white

13.87
#15295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#15295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15295F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15295F#FFFFFF#000000##FFFFFF
##15295F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033061
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15295f;
/* rgb */ color: rgb(21, 41, 95);
/* oklch */ color: oklch(30.0% 0.100 265.4);
Tailwind
colors: {
  custom: {
    50: '#5e628d',
    500: '#15295f',
    950: '#000000',
  },
}
SCSS
$custom: #15295f;
$custom-light: #5e628d;
$custom-dark: #000000;
JSON
{
  "hex": "#15295f",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 223.784,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29994,
    "c": 0.09976,
    "h": 265.4
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#15295F
secondary
#967D3A
accent
#BA41E7
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #15295F

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

Preview Lab → · Contrast checker → · Palette generator →

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