#15294F#15294F

#15294F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.074 H 261.9°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#15294F
RGBrgb(21, 41, 79)
HSLhsl(219, 58%, 20%)
HSVhsv(219, 73%, 31%)
CMYKcmyk(73.4%, 48.1%, 0%, 69%)
CIE-LABlab(17.03, 6.56, -25.78)
CIE-LCHlch(17.03, 26.61, 284.28°)
OKLaboklab(28.69% -0.0104 -0.0736)
OKLCHoklch(28.69% 0.074 261.9)
XYZxyz(2.5130, 2.3096, 7.7090)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15294F #4F3B15
analogous
#15464F #15294F #1E154F
triadic
#15294F #4F1529 #294F15
tetradic
#15294F #4F1546 #4F3B15 #154F1E
square
#15294F #4F1546 #4F3B15 #154F1E
split-complementary
#15294F #4F1E15 #464F15
monochromatic
#060D18 #08101F #15294F #22427F #2F5BB0

Accessibility & contrast

On white

14.36
#15294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15294F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15294F#FFFFFF#000000##FFFFFF
##15294F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D50
Deuteranopia (green-blind)
#0D274E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15294f;
/* rgb */ color: rgb(21, 41, 79);
/* oklch */ color: oklch(28.7% 0.074 261.9);
Tailwind
colors: {
  custom: {
    50: '#5a6280',
    500: '#15294f',
    950: '#000000',
  },
}
SCSS
$custom: #15294f;
$custom-light: #5a6280;
$custom-dark: #000000;
JSON
{
  "hex": "#15294f",
  "rgb": {
    "r": 21,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 219.31,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28691,
    "c": 0.07439,
    "h": 261.9
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#15294F
secondary
#876C39
accent
#AC47E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #15294F

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

Preview Lab → · Contrast checker → · Palette generator →

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