#14118E#14118E

#14118E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.189 H 269.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#14118E
RGBrgb(20, 17, 142)
HSLhsl(241, 79%, 31%)
HSVhsv(241, 88%, 56%)
CMYKcmyk(85.9%, 88%, 0%, 44.3%)
CIE-LABlab(17.93, 45.62, -65.24)
CIE-LCHlch(17.93, 79.61, 304.96°)
OKLaboklab(31.26% -0.0034 -0.1888)
OKLCHoklch(31.26% 0.189 269)
XYZxyz(5.3698, 2.5020, 25.7859)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14118E #8B8E11
analogous
#114C8E #14118E #52118E
triadic
#14118E #8E1411 #118E14
tetradic
#14118E #8E114C #8B8E11 #118E52
square
#14118E #8E114C #8B8E11 #118E52
split-complementary
#14118E #8E5211 #4C8E11
monochromatic
#050421 #0C0A57 #14118E #1C18C5 #3733E7

Accessibility & contrast

On white

13.99
#14118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#14118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14118E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14118E#FFFFFF#000000##FFFFFF
##14118E1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #14118e;
/* rgb */ color: rgb(20, 17, 142);
/* oklch */ color: oklch(31.3% 0.189 269.0);
Tailwind
colors: {
  custom: {
    50: '#6e54b1',
    500: '#14118e',
    950: '#000000',
  },
}
SCSS
$custom: #14118e;
$custom-light: #6e54b1;
$custom-dark: #000000;
JSON
{
  "hex": "#14118e",
  "rgb": {
    "r": 20,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 241.44,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31265,
    "c": 0.18883,
    "h": 269
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#14118E
secondary
#BFC238
accent
#F533F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14118E

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

Preview Lab → · Contrast checker → · Palette generator →

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