#14217D#14217D

#14217D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.154 H 268.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#14217D
RGBrgb(20, 33, 125)
HSLhsl(233, 72%, 28%)
HSVhsv(233, 84%, 49%)
CMYKcmyk(84%, 73.6%, 0%, 51%)
CIE-LABlab(18.87, 31.01, -52.96)
CIE-LCHlch(18.87, 61.38, 300.35°)
OKLaboklab(31.33% -0.0043 -0.1535)
OKLCHoklch(31.33% 0.154 268.4)
XYZxyz(4.5327, 2.7166, 19.6835)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14217D #7D7014
analogous
#14557D #14217D #3B147D
triadic
#14217D #7D1421 #217D14
tetradic
#14217D #7D1455 #7D7014 #147D3B
square
#14217D #7D1455 #7D7014 #147D3B
split-complementary
#14217D #7D3B14 #557D14
monochromatic
#04071A #0C1348 #14217D #1C2FB2 #2E44DE

Accessibility & contrast

On white

13.61
#14217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#14217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14217D
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14217D#FFFFFF#000000##FFFFFF
##14217D1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #14217d;
/* rgb */ color: rgb(20, 33, 125);
/* oklch */ color: oklch(31.3% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#675ca4',
    500: '#14217d',
    950: '#000000',
  },
}
SCSS
$custom: #14217d;
$custom-light: #675ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#14217d",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 232.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31327,
    "c": 0.15353,
    "h": 268.4
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#14217D
secondary
#B2A43A
accent
#D939EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #14217D

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

Preview Lab → · Contrast checker → · Palette generator →

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