#14157A#14157A

#14157A is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.162 H 270.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#14157A
RGBrgb(20, 21, 122)
HSLhsl(239, 72%, 28%)
HSVhsv(239, 84%, 48%)
CMYKcmyk(83.6%, 82.8%, 0%, 52.2%)
CIE-LABlab(15.95, 37.18, -55.88)
CIE-LCHlch(15.95, 67.12, 303.64°)
OKLaboklab(29.15% 0.0003 -0.1618)
OKLCHoklch(29.15% 0.162 270.1)
XYZxyz(4.0683, 2.0897, 18.5975)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14157A #7A7914
analogous
#14487A #14157A #46147A
triadic
#14157A #7A1415 #157A14
tetradic
#14157A #7A1448 #7A7914 #147A46
square
#14157A #7A1448 #7A7914 #147A46
split-complementary
#14157A #7A4614 #487A14
monochromatic
#04051A #0B0C45 #14157A #1D1EAF #2C2EDC

Accessibility & contrast

On white

14.81
#14157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14157A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14157A#FFFFFF#000000##FFFFFF
##14157A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14157a;
/* rgb */ color: rgb(20, 21, 122);
/* oklch */ color: oklch(29.1% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#6855a2',
    500: '#14157a',
    950: '#000000',
  },
}
SCSS
$custom: #14157a;
$custom-light: #6855a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14157a",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 239.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2915,
    "c": 0.16181,
    "h": 270.1
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14157A

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

Preview Lab → · Contrast checker → · Palette generator →

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