#14179E#14179E

#14179E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 33.9% C 0.203 H 267.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#14179E
RGBrgb(20, 23, 158)
HSLhsl(239, 78%, 35%)
HSVhsv(239, 87%, 62%)
CMYKcmyk(87.3%, 85.4%, 0%, 38%)
CIE-LABlab(20.94, 47.98, -70.12)
CIE-LCHlch(20.94, 84.96, 304.38°)
OKLaboklab(33.94% -0.0073 -0.203)
OKLCHoklch(33.94% 0.203 267.9)
XYZxyz(6.7643, 3.2293, 32.6079)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14179E #9E9B14
analogous
#145C9E #14179E #56149E
triadic
#14179E #9E1417 #179E14
tetradic
#14179E #9E145C #9E9B14 #149E56
square
#14179E #9E145C #9E9B14 #149E56
split-complementary
#14179E #9E5614 #5C9E14
monochromatic
#060731 #0D0F68 #14179E #1B1FD4 #4548E7

Accessibility & contrast

On white

12.76
#14179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#14179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14179E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14179E#FFFFFF#000000##FFFFFF
##14179E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #14179e;
/* rgb */ color: rgb(20, 23, 158);
/* oklch */ color: oklch(33.9% 0.203 267.9);
Tailwind
colors: {
  custom: {
    50: '#7259bc',
    500: '#14179e',
    950: '#000000',
  },
}
SCSS
$custom: #14179e;
$custom-light: #7259bc;
$custom-dark: #000000;
JSON
{
  "hex": "#14179e",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 238.696,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.33939,
    "c": 0.20315,
    "h": 267.9
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#14179E
secondary
#C8C546
accent
#F034F4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #14179E

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

Preview Lab → · Contrast checker → · Palette generator →

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