#14157D#14157D

#14157D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.166 H 269.9°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#14157D
RGBrgb(20, 21, 125)
HSLhsl(239, 72%, 28%)
HSVhsv(239, 84%, 49%)
CMYKcmyk(84%, 83.2%, 0%, 51%)
CIE-LABlab(16.33, 38.21, -57.17)
CIE-LCHlch(16.33, 68.76, 303.76°)
OKLaboklab(29.53% -0.0003 -0.1655)
OKLCHoklch(29.53% 0.166 269.9)
XYZxyz(4.2571, 2.1652, 19.5916)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14157D #7D7C14
analogous
#14497D #14157D #47147D
triadic
#14157D #7D1415 #157D14
tetradic
#14157D #7D1449 #7D7C14 #147D47
square
#14157D #7D1449 #7D7C14 #147D47
split-complementary
#14157D #7D4714 #497D14
monochromatic
#04041A #0C0C48 #14157D #1C1EB2 #2E30DE

Accessibility & contrast

On white

14.65
#14157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#14157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14157D
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14157D#FFFFFF#000000##FFFFFF
##14157D1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #14157d;
/* rgb */ color: rgb(20, 21, 125);
/* oklch */ color: oklch(29.5% 0.166 269.9);
Tailwind
colors: {
  custom: {
    50: '#6855a4',
    500: '#14157d',
    950: '#000000',
  },
}
SCSS
$custom: #14157d;
$custom-light: #6855a4;
$custom-dark: #000000;
JSON
{
  "hex": "#14157d",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 239.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29525,
    "c": 0.16554,
    "h": 269.9
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#14157D
secondary
#B2B13A
accent
#ED39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14157D

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

Preview Lab → · Contrast checker → · Palette generator →

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