#14158D#14158D

#14158D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.185 H 268.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#14158D
RGBrgb(20, 21, 141)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 86%, 55%)
CMYKcmyk(85.8%, 85.1%, 0%, 44.7%)
CIE-LABlab(18.40, 43.50, -63.84)
CIE-LCHlch(18.40, 77.25, 304.28°)
OKLaboklab(31.55% -0.0037 -0.1848)
OKLCHoklch(31.55% 0.185 268.9)
XYZxyz(5.3627, 2.6075, 25.4148)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14158D #8D8C14
analogous
#14528D #14158D #50148D
triadic
#14158D #8D1415 #158D14
tetradic
#14158D #8D1452 #8D8C14 #148D50
square
#14158D #8D1452 #8D8C14 #148D50
split-complementary
#14158D #8D5014 #528D14
monochromatic
#050522 #0C0D57 #14158D #1C1DC3 #393AE3

Accessibility & contrast

On white

13.80
#14158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#14158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14158D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14158D#FFFFFF#000000##FFFFFF
##14158D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #14158d;
/* rgb */ color: rgb(20, 21, 141);
/* oklch */ color: oklch(31.6% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d56b0',
    500: '#14158d',
    950: '#000000',
  },
}
SCSS
$custom: #14158d;
$custom-light: #6d56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#14158d",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 239.504,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31551,
    "c": 0.18486,
    "h": 268.9
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#14158D
secondary
#C1C03C
accent
#F036F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14158D

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

Preview Lab → · Contrast checker → · Palette generator →

#14158D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva