#14215F#14215F

#14215F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.111 H 268.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#14215F
RGBrgb(20, 33, 95)
HSLhsl(230, 65%, 23%)
HSVhsv(230, 79%, 37%)
CMYKcmyk(78.9%, 65.3%, 0%, 62.7%)
CIE-LABlab(15.81, 19.07, -38.50)
CIE-LCHlch(15.81, 42.96, 296.35°)
OKLaboklab(28.16% -0.0022 -0.1112)
OKLCHoklch(28.16% 0.111 268.9)
XYZxyz(2.8972, 2.0624, 11.0696)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14215F #5F5214
analogous
#14465F #14215F #2D145F
triadic
#14215F #5F1421 #215F14
tetradic
#14215F #5F1446 #5F5214 #145F2D
square
#14215F #5F1446 #5F5214 #145F2D
split-complementary
#14215F #5F2D14 #465F14
monochromatic
#050919 #090F2C #14215F #1F3392 #2944C4

Accessibility & contrast

On white

14.87
#14215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#14215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14215F
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14215F#FFFFFF#000000##FFFFFF
##14215F1.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #14215f;
/* rgb */ color: rgb(20, 33, 95);
/* oklch */ color: oklch(28.2% 0.111 268.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c8d',
    500: '#14215f',
    950: '#000000',
  },
}
SCSS
$custom: #14215f;
$custom-light: #5e5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#14215f",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 229.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28162,
    "c": 0.11122,
    "h": 268.9
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#14215F
secondary
#978638
accent
#CB40E8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #14215F

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

Preview Lab → · Contrast checker → · Palette generator →

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