#14138E#14138E

#14138E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.187 H 268.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#14138E
RGBrgb(20, 19, 142)
HSLhsl(240, 76%, 32%)
HSVhsv(240, 87%, 56%)
CMYKcmyk(85.9%, 86.6%, 0%, 44.3%)
CIE-LABlab(18.22, 44.75, -64.76)
CIE-LCHlch(18.22, 78.72, 304.65°)
OKLaboklab(31.47% -0.0036 -0.1874)
OKLCHoklch(31.47% 0.187 268.9)
XYZxyz(5.4022, 2.5668, 25.7967)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14138E #8D8E13
analogous
#13508E #14138E #52138E
triadic
#14138E #8E1413 #138E14
tetradic
#14138E #8E1350 #8D8E13 #138E52
square
#14138E #8E1350 #8D8E13 #138E52
split-complementary
#14138E #8E5213 #508E13
monochromatic
#050522 #0C0C58 #14138E #1C1AC4 #3937E4

Accessibility & contrast

On white

13.88
#14138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#14138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14138E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14138E#FFFFFF#000000##FFFFFF
##14138E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14138e;
/* rgb */ color: rgb(20, 19, 142);
/* oklch */ color: oklch(31.5% 0.187 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d55b0',
    500: '#14138e',
    950: '#000000',
  },
}
SCSS
$custom: #14138e;
$custom-light: #6d55b0;
$custom-dark: #000000;
JSON
{
  "hex": "#14138e",
  "rgb": {
    "r": 20,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 240.488,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.18749,
    "h": 268.9
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#14138E
secondary
#C1C23B
accent
#F335F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14138E

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

Preview Lab → · Contrast checker → · Palette generator →

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