#14177F#14177F

#14177F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.166 H 269.6°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#14177F
RGBrgb(20, 23, 127)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 50%)
CMYKcmyk(84.3%, 81.9%, 0%, 50.2%)
CIE-LABlab(16.96, 37.81, -57.40)
CIE-LCHlch(16.96, 68.73, 303.37°)
OKLaboklab(30.04% -0.0012 -0.1663)
OKLCHoklch(30.04% 0.166 269.6)
XYZxyz(4.4243, 2.2933, 20.2840)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14177F #7F7C14
analogous
#144D7F #14177F #47147F
triadic
#14177F #7F1417 #177F14
tetradic
#14177F #7F144D #7F7C14 #147F47
square
#14177F #7F144D #7F7C14 #147F47
split-complementary
#14177F #7F4714 #4D7F14
monochromatic
#04051A #0C0D4A #14177F #1C21B4 #2F34DE

Accessibility & contrast

On white

14.40
#14177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#14177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14177F
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14177F#FFFFFF#000000##FFFFFF
##14177F1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #14177f;
/* rgb */ color: rgb(20, 23, 127);
/* oklch */ color: oklch(30.0% 0.166 269.6);
Tailwind
colors: {
  custom: {
    50: '#6956a5',
    500: '#14177f',
    950: '#000000',
  },
}
SCSS
$custom: #14177f;
$custom-light: #6956a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14177f",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 238.318,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.16626,
    "h": 269.6
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#14177F
secondary
#B4B13B
accent
#EA38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14177F

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

Preview Lab → · Contrast checker → · Palette generator →

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