#14168D#14168D

#14168D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.184 H 268.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#14168D
RGBrgb(20, 22, 141)
HSLhsl(239, 75%, 32%)
HSVhsv(239, 86%, 55%)
CMYKcmyk(85.8%, 84.4%, 0%, 44.7%)
CIE-LABlab(18.56, 43.02, -63.56)
CIE-LCHlch(18.56, 76.75, 304.09°)
OKLaboklab(31.67% -0.0038 -0.184)
OKLCHoklch(31.67% 0.184 268.8)
XYZxyz(5.3815, 2.6450, 25.4210)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14168D #8D8B14
analogous
#14538D #14168D #4F148D
triadic
#14168D #8D1416 #168D14
tetradic
#14168D #8D1453 #8D8B14 #148D4F
square
#14168D #8D1453 #8D8B14 #148D4F
split-complementary
#14168D #8D4F14 #538D14
monochromatic
#050522 #0C0E57 #14168D #1C1EC3 #393BE3

Accessibility & contrast

On white

13.73
#14168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#14168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14168D
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14168D#FFFFFF#000000##FFFFFF
##14168D1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #14168d;
/* rgb */ color: rgb(20, 22, 141);
/* oklch */ color: oklch(31.7% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d57b0',
    500: '#14168d',
    950: '#000000',
  },
}
SCSS
$custom: #14168d;
$custom-light: #6d57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#14168d",
  "rgb": {
    "r": 20,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 239.008,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31665,
    "c": 0.18409,
    "h": 268.8
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#14168D
secondary
#C1BF3C
accent
#EF36F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14168D

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

Preview Lab → · Contrast checker → · Palette generator →

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