#14177E#14177E

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

Color values

HEX#14177E
RGBrgb(20, 23, 126)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 49%)
CMYKcmyk(84.1%, 81.7%, 0%, 50.6%)
CIE-LABlab(16.83, 37.46, -56.97)
CIE-LCHlch(16.83, 68.19, 303.33°)
OKLaboklab(29.91% -0.001 -0.165)
OKLCHoklch(29.91% 0.165 269.6)
XYZxyz(4.3595, 2.2674, 19.9425)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14177E #7E7B14
analogous
#144C7E #14177E #46147E
triadic
#14177E #7E1417 #177E14
tetradic
#14177E #7E144C #7E7B14 #147E46
square
#14177E #7E144C #7E7B14 #147E46
split-complementary
#14177E #7E4614 #4C7E14
monochromatic
#04051A #0C0D49 #14177E #1C21B3 #2E33DE

Accessibility & contrast

On white

14.45
#14177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14177E
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14177E#FFFFFF#000000##FFFFFF
##14177E1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #14177e;
/* rgb */ color: rgb(20, 23, 126);
/* oklch */ color: oklch(29.9% 0.165 269.6);
Tailwind
colors: {
  custom: {
    50: '#6856a5',
    500: '#14177e',
    950: '#000000',
  },
}
SCSS
$custom: #14177e;
$custom-light: #6856a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14177e",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 238.302,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29912,
    "c": 0.16501,
    "h": 269.6
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#14177E
secondary
#B3B03A
accent
#EA38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14177E

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

Preview Lab → · Contrast checker → · Palette generator →

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