#15214F#15214F

#15214F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.086 H 268.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#15214F
RGBrgb(21, 33, 79)
HSLhsl(228, 58%, 20%)
HSVhsv(228, 73%, 31%)
CMYKcmyk(73.4%, 58.2%, 0%, 69%)
CIE-LABlab(14.46, 12.55, -29.92)
CIE-LCHlch(14.46, 32.44, 292.76°)
OKLaboklab(26.73% -0.0017 -0.0859)
OKLCHoklch(26.73% 0.086 268.9)
XYZxyz(2.2639, 1.8114, 7.6260)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15214F #4F4315
analogous
#153E4F #15214F #26154F
triadic
#15214F #4F1521 #214F15
tetradic
#15214F #4F153E #4F4315 #154F26
square
#15214F #4F153E #4F4315 #154F26
split-complementary
#15214F #4F2615 #3E4F15
monochromatic
#060A18 #080D1F #15214F #22357F #2F49B0

Accessibility & contrast

On white

15.41
#15214F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#15214F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15214F
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15214F#FFFFFF#000000##FFFFFF
##15214F1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #15214f;
/* rgb */ color: rgb(21, 33, 79);
/* oklch */ color: oklch(26.7% 0.086 268.9);
Tailwind
colors: {
  custom: {
    50: '#5b5b81',
    500: '#15214f',
    950: '#000000',
  },
}
SCSS
$custom: #15214f;
$custom-light: #5b5b81;
$custom-dark: #000000;
JSON
{
  "hex": "#15214f",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 79
  },
  "hsl": {
    "h": 227.586,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2673,
    "c": 0.08597,
    "h": 268.9
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#15214F
secondary
#877739
accent
#C147E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15214F

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

Preview Lab → · Contrast checker → · Palette generator →

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