#14175E#14175E

#14175E is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.1% C 0.123 H 272.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#14175E
RGBrgb(20, 23, 94)
HSLhsl(238, 65%, 22%)
HSVhsv(238, 79%, 37%)
CMYKcmyk(78.7%, 75.5%, 0%, 63.1%)
CIE-LABlab(13.04, 25.75, -42.37)
CIE-LCHlch(13.04, 49.58, 301.29°)
OKLaboklab(26.11% 0.0049 -0.1226)
OKLCHoklch(26.11% 0.123 272.3)
XYZxyz(2.6146, 1.5694, 10.7526)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14175E #5E5B14
analogous
#143C5E #14175E #36145E
triadic
#14175E #5E1417 #175E14
tetradic
#14175E #5E143C #5E5B14 #145E36
square
#14175E #5E143C #5E5B14 #145E36
split-complementary
#14175E #5E3614 #3C5E14
monochromatic
#050619 #090B2C #14175E #1F2390 #2930C3

Accessibility & contrast

On white

15.98
#14175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#14175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14175E
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14175E#FFFFFF#000000##FFFFFF
##14175E1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#001E5D
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #14175e;
/* rgb */ color: rgb(20, 23, 94);
/* oklch */ color: oklch(26.1% 0.123 272.3);
Tailwind
colors: {
  custom: {
    50: '#5f548c',
    500: '#14175e',
    950: '#000000',
  },
}
SCSS
$custom: #14175e;
$custom-light: #5f548c;
$custom-dark: #000000;
JSON
{
  "hex": "#14175e",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 237.568,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26109,
    "c": 0.12269,
    "h": 272.3
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#14175E
secondary
#969238
accent
#E140E8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #14175E

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

Preview Lab → · Contrast checker → · Palette generator →

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