#14178F#14178F

#14178F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 268.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#14178F
RGBrgb(20, 23, 143)
HSLhsl(239, 75%, 32%)
HSVhsv(239, 86%, 56%)
CMYKcmyk(86%, 83.9%, 0%, 43.9%)
CIE-LABlab(18.99, 43.18, -64.10)
CIE-LCHlch(18.99, 77.29, 303.97°)
OKLaboklab(32.03% -0.0044 -0.1856)
OKLCHoklch(32.03% 0.186 268.6)
XYZxyz(5.5511, 2.7440, 26.2183)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14178F #8F8C14
analogous
#14548F #14178F #4F148F
triadic
#14178F #8F1417 #178F14
tetradic
#14178F #8F1454 #8F8C14 #148F4F
square
#14178F #8F1454 #8F8C14 #148F4F
split-complementary
#14178F #8F4F14 #548F14
monochromatic
#050624 #0C0E59 #14178F #1C20C5 #3A3EE3

Accessibility & contrast

On white

13.56
#14178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#14178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14178F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14178F#FFFFFF#000000##FFFFFF
##14178F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #14178f;
/* rgb */ color: rgb(20, 23, 143);
/* oklch */ color: oklch(32.0% 0.186 268.6);
Tailwind
colors: {
  custom: {
    50: '#6d58b1',
    500: '#14178f',
    950: '#000000',
  },
}
SCSS
$custom: #14178f;
$custom-light: #6d58b1;
$custom-dark: #000000;
JSON
{
  "hex": "#14178f",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 238.537,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32034,
    "c": 0.18569,
    "h": 268.6
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#14178F
secondary
#C3BF3C
accent
#ED36F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14178F

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

Preview Lab → · Contrast checker → · Palette generator →

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