#15294D#15294D

#15294D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.071 H 261.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#15294D
RGBrgb(21, 41, 77)
HSLhsl(219, 57%, 19%)
HSVhsv(219, 73%, 30%)
CMYKcmyk(72.7%, 46.8%, 0%, 69.8%)
CIE-LABlab(16.90, 5.73, -24.65)
CIE-LCHlch(16.90, 25.30, 283.08°)
OKLaboklab(28.54% -0.0109 -0.0703)
OKLCHoklch(28.54% 0.071 261.2)
XYZxyz(2.4413, 2.2809, 7.3313)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15294D #4D3915
analogous
#15454D #15294D #1D154D
triadic
#15294D #4D1529 #294D15
tetradic
#15294D #4D1545 #4D3915 #154D1D
square
#15294D #4D1545 #4D3915 #154D1D
split-complementary
#15294D #4D1D15 #454D15
monochromatic
#070D18 #080F1D #15294D #22437D #2F5CAD

Accessibility & contrast

On white

14.42
#15294D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#15294D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15294D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15294D#FFFFFF#000000##FFFFFF
##15294D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4E
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#003137
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15294d;
/* rgb */ color: rgb(21, 41, 77);
/* oklch */ color: oklch(28.5% 0.071 261.2);
Tailwind
colors: {
  custom: {
    50: '#5a627f',
    500: '#15294d',
    950: '#000000',
  },
}
SCSS
$custom: #15294d;
$custom-light: #5a627f;
$custom-dark: #000000;
JSON
{
  "hex": "#15294d",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 77
  },
  "hsl": {
    "h": 218.571,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2854,
    "c": 0.07115,
    "h": 261.2
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#15294D
secondary
#856A39
accent
#AA47E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #15294D

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

Preview Lab → · Contrast checker → · Palette generator →

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