#14177D#14177D

#14177D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.164 H 269.7°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#14177D
RGBrgb(20, 23, 125)
HSLhsl(238, 72%, 28%)
HSVhsv(238, 84%, 49%)
CMYKcmyk(84%, 81.6%, 0%, 51%)
CIE-LABlab(16.71, 37.11, -56.54)
CIE-LCHlch(16.71, 67.64, 303.28°)
OKLaboklab(29.79% -0.0008 -0.1638)
OKLCHoklch(29.79% 0.164 269.7)
XYZxyz(4.2953, 2.2417, 19.6044)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14177D #7D7A14
analogous
#144B7D #14177D #45147D
triadic
#14177D #7D1417 #177D14
tetradic
#14177D #7D144B #7D7A14 #147D45
square
#14177D #7D144B #7D7A14 #147D45
split-complementary
#14177D #7D4514 #4B7D14
monochromatic
#04051A #0C0D48 #14177D #1C21B2 #2E33DE

Accessibility & contrast

On white

14.50
#14177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#14177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14177D
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14177D#FFFFFF#000000##FFFFFF
##14177D1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14177d;
/* rgb */ color: rgb(20, 23, 125);
/* oklch */ color: oklch(29.8% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#6856a4',
    500: '#14177d',
    950: '#000000',
  },
}
SCSS
$custom: #14177d;
$custom-light: #6856a4;
$custom-dark: #000000;
JSON
{
  "hex": "#14177d",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 238.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29788,
    "c": 0.16376,
    "h": 269.7
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#14177D
secondary
#B2AF3A
accent
#EA39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14177D

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

Preview Lab → · Contrast checker → · Palette generator →

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