#15214D#15214D

#15214D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.083 H 268.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#15214D
RGBrgb(21, 33, 77)
HSLhsl(227, 57%, 19%)
HSVhsv(227, 73%, 30%)
CMYKcmyk(72.7%, 57.1%, 0%, 69.8%)
CIE-LABlab(14.30, 11.71, -28.81)
CIE-LCHlch(14.30, 31.10, 292.12°)
OKLaboklab(26.56% -0.0019 -0.0827)
OKLCHoklch(26.56% 0.083 268.7)
XYZxyz(2.1922, 1.7828, 7.2483)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15214D #4D4115
analogous
#153D4D #15214D #25154D
triadic
#15214D #4D1521 #214D15
tetradic
#15214D #4D153D #4D4115 #154D25
square
#15214D #4D153D #4D4115 #154D25
split-complementary
#15214D #4D2515 #3D4D15
monochromatic
#070A18 #080C1D #15214D #22367D #2F4AAD

Accessibility & contrast

On white

15.48
#15214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15214D
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15214D#FFFFFF#000000##FFFFFF
##15214D1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06274F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #15214d;
/* rgb */ color: rgb(21, 33, 77);
/* oklch */ color: oklch(26.6% 0.083 268.7);
Tailwind
colors: {
  custom: {
    50: '#5a5b7f',
    500: '#15214d',
    950: '#000000',
  },
}
SCSS
$custom: #15214d;
$custom-light: #5a5b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#15214d",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 227.143,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26557,
    "c": 0.08271,
    "h": 268.7
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#15214D
secondary
#857539
accent
#C047E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15214D

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

Preview Lab → · Contrast checker → · Palette generator →

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