#14157F#14157F

#14157F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.168 H 269.8°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#14157F
RGBrgb(20, 21, 127)
HSLhsl(239, 73%, 29%)
HSVhsv(239, 84%, 50%)
CMYKcmyk(84.3%, 83.5%, 0%, 50.2%)
CIE-LABlab(16.59, 38.88, -58.02)
CIE-LCHlch(16.59, 69.84, 303.83°)
OKLaboklab(29.78% -0.0007 -0.168)
OKLCHoklch(29.78% 0.168 269.8)
XYZxyz(4.3861, 2.2168, 20.2713)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14157F #7F7E14
analogous
#144B7F #14157F #49147F
triadic
#14157F #7F1415 #157F14
tetradic
#14157F #7F144B #7F7E14 #147F49
square
#14157F #7F144B #7F7E14 #147F49
split-complementary
#14157F #7F4914 #4B7F14
monochromatic
#04041A #0C0C4A #14157F #1C1EB4 #2F31DE

Accessibility & contrast

On white

14.55
#14157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#14157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14157F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14157F#FFFFFF#000000##FFFFFF
##14157F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14157f;
/* rgb */ color: rgb(20, 21, 127);
/* oklch */ color: oklch(29.8% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#14157f',
    950: '#000000',
  },
}
SCSS
$custom: #14157f;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14157f",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 239.439,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29776,
    "c": 0.168,
    "h": 269.8
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#14157F
secondary
#B4B33B
accent
#EE38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14157F

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

Preview Lab → · Contrast checker → · Palette generator →

#14157F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva