#14178D#14178D

#14178D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.183 H 268.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#14178D
RGBrgb(20, 23, 141)
HSLhsl(239, 75%, 32%)
HSVhsv(239, 86%, 55%)
CMYKcmyk(85.8%, 83.7%, 0%, 44.7%)
CIE-LABlab(18.73, 42.53, -63.28)
CIE-LCHlch(18.73, 76.24, 303.90°)
OKLaboklab(31.78% -0.004 -0.1833)
OKLCHoklch(31.78% 0.183 268.7)
XYZxyz(5.4010, 2.6839, 25.4275)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14178D #8D8A14
analogous
#14548D #14178D #4E148D
triadic
#14178D #8D1417 #178D14
tetradic
#14178D #8D1454 #8D8A14 #148D4E
square
#14178D #8D1454 #8D8A14 #148D4E
split-complementary
#14178D #8D4E14 #548D14
monochromatic
#050622 #0C0E57 #14178D #1C20C3 #393DE3

Accessibility & contrast

On white

13.66
#14178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#14178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14178D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14178D#FFFFFF#000000##FFFFFF
##14178D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#00278B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #14178d;
/* rgb */ color: rgb(20, 23, 141);
/* oklch */ color: oklch(31.8% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d57b0',
    500: '#14178d',
    950: '#000000',
  },
}
SCSS
$custom: #14178d;
$custom-light: #6d57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#14178d",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 238.512,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31782,
    "c": 0.1833,
    "h": 268.7
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14178D

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

Preview Lab → · Contrast checker → · Palette generator →

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