#14157B#14157B

#14157B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.163 H 270.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#14157B
RGBrgb(20, 21, 123)
HSLhsl(239, 72%, 28%)
HSVhsv(239, 84%, 48%)
CMYKcmyk(83.7%, 82.9%, 0%, 51.8%)
CIE-LABlab(16.08, 37.53, -56.31)
CIE-LCHlch(16.08, 67.67, 303.68°)
OKLaboklab(29.28% 0.0001 -0.1631)
OKLCHoklch(29.28% 0.163 270)
XYZxyz(4.1306, 2.1146, 18.9255)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14157B #7B7A14
analogous
#14497B #14157B #46147B
triadic
#14157B #7B1415 #157B14
tetradic
#14157B #7B1449 #7B7A14 #147B46
square
#14157B #7B1449 #7B7A14 #147B46
split-complementary
#14157B #7B4614 #497B14
monochromatic
#04041A #0B0C46 #14157B #1D1EB0 #2D2EDD

Accessibility & contrast

On white

14.76
#14157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#14157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14157B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14157B#FFFFFF#000000##FFFFFF
##14157B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #14157b;
/* rgb */ color: rgb(20, 21, 123);
/* oklch */ color: oklch(29.3% 0.163 270.0);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#14157b',
    950: '#000000',
  },
}
SCSS
$custom: #14157b;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14157b",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 239.417,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29275,
    "c": 0.16306,
    "h": 270
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14157B

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

Preview Lab → · Contrast checker → · Palette generator →

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