#14117E#14117E

#14117E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.170 H 270.1°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#14117E
RGBrgb(20, 17, 126)
HSLhsl(242, 76%, 28%)
HSVhsv(242, 87%, 49%)
CMYKcmyk(84.1%, 86.5%, 0%, 50.6%)
CIE-LABlab(15.78, 40.55, -58.73)
CIE-LCHlch(15.78, 71.37, 304.63°)
OKLaboklab(29.18% 0.0003 -0.17)
OKLCHoklch(29.18% 0.17 270.1)
XYZxyz(4.2536, 2.0555, 19.9072)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14117E #7B7E11
analogous
#11457E #14117E #4A117E
triadic
#14117E #7E1411 #117E14
tetradic
#14117E #7E1145 #7B7E11 #117E4A
square
#14117E #7E1145 #7B7E11 #117E4A
split-complementary
#14117E #7E4A11 #457E11
monochromatic
#04041B #0B0A48 #14117E #1D18B4 #2D27E2

Accessibility & contrast

On white

14.88
#14117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#14117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14117E
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14117E#FFFFFF#000000##FFFFFF
##14117E1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #14117e;
/* rgb */ color: rgb(20, 17, 126);
/* oklch */ color: oklch(29.2% 0.170 270.1);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#14117e',
    950: '#000000',
  },
}
SCSS
$custom: #14117e;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14117e",
  "rgb": {
    "r": 20,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 241.651,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29177,
    "c": 0.16997,
    "h": 270.1
  },
  "luminance": 0.02056
}

Semantic roles & 50–950 ramp

primary
#14117E
secondary
#B1B437
accent
#F335EE
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14117E

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

Preview Lab → · Contrast checker → · Palette generator →

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