#14167E#14167E

#14167E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 269.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#14167E
RGBrgb(20, 22, 126)
HSLhsl(239, 73%, 29%)
HSVhsv(239, 84%, 49%)
CMYKcmyk(84.1%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.64, 38.01, -57.29)
CIE-LCHlch(16.64, 68.75, 303.56°)
OKLaboklab(29.78% -0.0008 -0.1659)
OKLCHoklch(29.78% 0.166 269.7)
XYZxyz(4.3400, 2.2284, 19.9360)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14167E #7E7C14
analogous
#144B7E #14167E #47147E
triadic
#14167E #7E1416 #167E14
tetradic
#14167E #7E144B #7E7C14 #147E47
square
#14167E #7E144B #7E7C14 #147E47
split-complementary
#14167E #7E4714 #4B7E14
monochromatic
#04051A #0C0D49 #14167E #1C1FB3 #2E32DE

Accessibility & contrast

On white

14.52
#14167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14167E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14167E#FFFFFF#000000##FFFFFF
##14167E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14167e;
/* rgb */ color: rgb(20, 22, 126);
/* oklch */ color: oklch(29.8% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#14167e',
    950: '#000000',
  },
}
SCSS
$custom: #14167e;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14167e",
  "rgb": {
    "r": 20,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 238.868,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29779,
    "c": 0.16591,
    "h": 269.7
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14167E

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

Preview Lab → · Contrast checker → · Palette generator →

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