#14217F#14217F

#14217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.156 H 268.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#14217F
RGBrgb(20, 33, 127)
HSLhsl(233, 73%, 29%)
HSVhsv(233, 84%, 50%)
CMYKcmyk(84.3%, 74%, 0%, 50.2%)
CIE-LABlab(19.09, 31.77, -53.87)
CIE-LCHlch(19.09, 62.54, 300.53°)
OKLaboklab(31.55% -0.0045 -0.1561)
OKLCHoklch(31.55% 0.156 268.4)
XYZxyz(4.6618, 2.7682, 20.3632)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14217F #7F7214
analogous
#14577F #14217F #3D147F
triadic
#14217F #7F1421 #217F14
tetradic
#14217F #7F1457 #7F7214 #147F3D
square
#14217F #7F1457 #7F7214 #147F3D
split-complementary
#14217F #7F3D14 #577F14
monochromatic
#04071A #0C134A #14217F #1C2FB4 #2F44DE

Accessibility & contrast

On white

13.52
#14217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#14217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14217F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14217F#FFFFFF#000000##FFFFFF
##14217F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #14217f;
/* rgb */ color: rgb(20, 33, 127);
/* oklch */ color: oklch(31.6% 0.156 268.4);
Tailwind
colors: {
  custom: {
    50: '#685da5',
    500: '#14217f',
    950: '#000000',
  },
}
SCSS
$custom: #14217f;
$custom-light: #685da5;
$custom-dark: #000000;
JSON
{
  "hex": "#14217f",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 232.71,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3155,
    "c": 0.15617,
    "h": 268.4
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#14217F
secondary
#B4A53B
accent
#D938EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14217F

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

Preview Lab → · Contrast checker → · Palette generator →

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