#14167F#14167F

#14167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.167 H 269.7°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#14167F
RGBrgb(20, 22, 127)
HSLhsl(239, 73%, 29%)
HSVhsv(239, 84%, 50%)
CMYKcmyk(84.3%, 82.7%, 0%, 50.2%)
CIE-LABlab(16.77, 38.35, -57.71)
CIE-LCHlch(16.77, 69.30, 303.61°)
OKLaboklab(29.9% -0.001 -0.1671)
OKLCHoklch(29.9% 0.167 269.7)
XYZxyz(4.4049, 2.2543, 20.2775)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14167F #7F7D14
analogous
#144C7F #14167F #48147F
triadic
#14167F #7F1416 #167F14
tetradic
#14167F #7F144C #7F7D14 #147F48
square
#14167F #7F144C #7F7D14 #147F48
split-complementary
#14167F #7F4814 #4C7F14
monochromatic
#04051A #0C0D4A #14167F #1C1FB4 #2F32DE

Accessibility & contrast

On white

14.47
#14167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#14167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14167F
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14167F#FFFFFF#000000##FFFFFF
##14167F1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14167f;
/* rgb */ color: rgb(20, 22, 127);
/* oklch */ color: oklch(29.9% 0.167 269.7);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#14167f',
    950: '#000000',
  },
}
SCSS
$custom: #14167f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14167f",
  "rgb": {
    "r": 20,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 238.879,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29904,
    "c": 0.16714,
    "h": 269.7
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#14167F
secondary
#B4B23B
accent
#EC38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14167F

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

Preview Lab → · Contrast checker → · Palette generator →

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