#15214C#15214C

#15214C is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.081 H 268.6°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#15214C
RGBrgb(21, 33, 76)
HSLhsl(227, 57%, 19%)
HSVhsv(227, 72%, 30%)
CMYKcmyk(72.4%, 56.6%, 0%, 70.2%)
CIE-LABlab(14.22, 11.29, -28.25)
CIE-LCHlch(14.22, 30.43, 291.78°)
OKLaboklab(26.47% -0.002 -0.0811)
OKLCHoklch(26.47% 0.081 268.6)
XYZxyz(2.1572, 1.7687, 7.0638)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15214C #4C4015
analogous
#153D4C #15214C #25154C
triadic
#15214C #4C1521 #214C15
tetradic
#15214C #4C153D #4C4015 #154C25
square
#15214C #4C153D #4C4015 #154C25
split-complementary
#15214C #4C2515 #3D4C15
monochromatic
#070A18 #080C1C #15214C #22367C #2F4BAC

Accessibility & contrast

On white

15.51
#15214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15214C
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15214C#FFFFFF#000000##FFFFFF
##15214C1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15214c;
/* rgb */ color: rgb(21, 33, 76);
/* oklch */ color: oklch(26.5% 0.081 268.6);
Tailwind
colors: {
  custom: {
    50: '#5a5b7e',
    500: '#15214c',
    950: '#000000',
  },
}
SCSS
$custom: #15214c;
$custom-light: #5a5b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#15214c",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 226.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26471,
    "c": 0.08108,
    "h": 268.6
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#15214C
secondary
#847439
accent
#BF48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15214C

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

Preview Lab → · Contrast checker → · Palette generator →

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