#15214A#15214A

#15214A is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.078 H 268.4°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#15214A
RGBrgb(21, 33, 74)
HSLhsl(226, 56%, 19%)
HSVhsv(226, 72%, 29%)
CMYKcmyk(71.6%, 55.4%, 0%, 71%)
CIE-LABlab(14.07, 10.45, -27.13)
CIE-LCHlch(14.07, 29.08, 291.07°)
OKLaboklab(26.3% -0.0022 -0.0778)
OKLCHoklch(26.3% 0.078 268.4)
XYZxyz(2.0887, 1.7414, 6.7033)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15214A #4A3E15
analogous
#153B4A #15214A #23154A
triadic
#15214A #4A1521 #214A15
tetradic
#15214A #4A153B #4A3E15 #154A23
square
#15214A #4A153B #4A3E15 #154A23
split-complementary
#15214A #4A2315 #3B4A15
monochromatic
#070B18 #070C1A #15214A #23367A #304CA9

Accessibility & contrast

On white

15.57
#15214A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#15214A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15214A
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15214A#FFFFFF#000000##FFFFFF
##15214A1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A264B
Deuteranopia (green-blind)
#012149
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15214a;
/* rgb */ color: rgb(21, 33, 74);
/* oklch */ color: oklch(26.3% 0.078 268.4);
Tailwind
colors: {
  custom: {
    50: '#595b7d',
    500: '#15214a',
    950: '#000000',
  },
}
SCSS
$custom: #15214a;
$custom-light: #595b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#15214a",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 74
  },
  "hsl": {
    "h": 226.415,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26302,
    "c": 0.07779,
    "h": 268.4
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#15214A
secondary
#827139
accent
#BD49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #15214A

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

Preview Lab → · Contrast checker → · Palette generator →

#15214A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva