#14176E#14176E

#14176E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.145 H 270.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#14176E
RGBrgb(20, 23, 110)
HSLhsl(238, 69%, 25%)
HSVhsv(238, 82%, 43%)
CMYKcmyk(81.8%, 79.1%, 0%, 56.9%)
CIE-LABlab(14.88, 31.77, -49.90)
CIE-LCHlch(14.88, 59.15, 302.49°)
OKLaboklab(27.97% 0.0021 -0.1445)
OKLCHoklch(27.97% 0.145 270.8)
XYZxyz(3.4084, 1.8869, 14.9334)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14176E #6E6B14
analogous
#14446E #14176E #3E146E
triadic
#14176E #6E1417 #176E14
tetradic
#14176E #6E1444 #6E6B14 #146E3E
square
#14176E #6E1444 #6E6B14 #146E3E
split-complementary
#14176E #6E3E14 #446E14
monochromatic
#05051A #0B0C3A #14176E #1D22A2 #272DD6

Accessibility & contrast

On white

15.25
#14176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#14176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14176E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14176E#FFFFFF#000000##FFFFFF
##14176E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #14176e;
/* rgb */ color: rgb(20, 23, 110);
/* oklch */ color: oklch(28.0% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#645599',
    500: '#14176e',
    950: '#000000',
  },
}
SCSS
$custom: #14176e;
$custom-light: #645599;
$custom-dark: #000000;
JSON
{
  "hex": "#14176e",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 238,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27969,
    "c": 0.14451,
    "h": 270.8
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #14176E

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

Preview Lab → · Contrast checker → · Palette generator →

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