#14157E#14157E

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

Color values

HEX#14157E
RGBrgb(20, 21, 126)
HSLhsl(239, 73%, 29%)
HSVhsv(239, 84%, 49%)
CMYKcmyk(84.1%, 83.3%, 0%, 50.6%)
CIE-LABlab(16.46, 38.55, -57.59)
CIE-LCHlch(16.46, 69.30, 303.79°)
OKLaboklab(29.65% -0.0005 -0.1668)
OKLCHoklch(29.65% 0.167 269.8)
XYZxyz(4.3213, 2.1909, 19.9298)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14157E #7E7D14
analogous
#144A7E #14157E #48147E
triadic
#14157E #7E1415 #157E14
tetradic
#14157E #7E144A #7E7D14 #147E48
square
#14157E #7E144A #7E7D14 #147E48
split-complementary
#14157E #7E4814 #4A7E14
monochromatic
#04041A #0C0C49 #14157E #1C1EB3 #2E30DE

Accessibility & contrast

On white

14.60
#14157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14157E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14157E#FFFFFF#000000##FFFFFF
##14157E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14157e;
/* rgb */ color: rgb(20, 21, 126);
/* oklch */ color: oklch(29.7% 0.167 269.8);
Tailwind
colors: {
  custom: {
    50: '#6955a5',
    500: '#14157e',
    950: '#000000',
  },
}
SCSS
$custom: #14157e;
$custom-light: #6955a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14157e",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 239.434,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29651,
    "c": 0.16677,
    "h": 269.8
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14157E

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

Preview Lab → · Contrast checker → · Palette generator →

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