#14176D#14176D

#14176D is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.143 H 270.9°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#14176D
RGBrgb(20, 23, 109)
HSLhsl(238, 69%, 25%)
HSVhsv(238, 82%, 43%)
CMYKcmyk(81.7%, 78.9%, 0%, 57.3%)
CIE-LABlab(14.76, 31.40, -49.44)
CIE-LCHlch(14.76, 58.57, 302.42°)
OKLaboklab(27.85% 0.0023 -0.1432)
OKLCHoklch(27.85% 0.143 270.9)
XYZxyz(3.3543, 1.8653, 14.6483)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14176D #6D6A14
analogous
#14436D #14176D #3E146D
triadic
#14176D #6D1417 #176D14
tetradic
#14176D #6D1443 #6D6A14 #146D3E
square
#14176D #6D1443 #6D6A14 #146D3E
split-complementary
#14176D #6D3E14 #436D14
monochromatic
#05051A #0B0C39 #14176D #1D22A1 #272DD4

Accessibility & contrast

On white

15.29
#14176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#14176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14176D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14176D#FFFFFF#000000##FFFFFF
##14176D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #14176d;
/* rgb */ color: rgb(20, 23, 109);
/* oklch */ color: oklch(27.9% 0.143 270.9);
Tailwind
colors: {
  custom: {
    50: '#645598',
    500: '#14176d',
    950: '#000000',
  },
}
SCSS
$custom: #14176d;
$custom-light: #645598;
$custom-dark: #000000;
JSON
{
  "hex": "#14176d",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 237.978,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2785,
    "c": 0.14318,
    "h": 270.9
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#14176D
secondary
#A4A039
accent
#E63CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #14176D

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

Preview Lab → · Contrast checker → · Palette generator →

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