#14187D#14187D

#14187D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.163 H 269.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#14187D
RGBrgb(20, 24, 125)
HSLhsl(238, 72%, 28%)
HSVhsv(238, 84%, 49%)
CMYKcmyk(84%, 80.8%, 0%, 51%)
CIE-LABlab(16.90, 36.55, -56.22)
CIE-LCHlch(16.90, 67.05, 303.03°)
OKLaboklab(29.93% -0.0011 -0.1628)
OKLCHoklch(29.93% 0.163 269.6)
XYZxyz(4.3155, 2.2822, 19.6111)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14187D #7D7914
analogous
#144C7D #14187D #44147D
triadic
#14187D #7D1418 #187D14
tetradic
#14187D #7D144C #7D7914 #147D44
square
#14187D #7D144C #7D7914 #147D44
split-complementary
#14187D #7D4414 #4C7D14
monochromatic
#04051A #0C0E48 #14187D #1C22B2 #2E35DE

Accessibility & contrast

On white

14.42
#14187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#14187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14187D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14187D#FFFFFF#000000##FFFFFF
##14187D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #14187d;
/* rgb */ color: rgb(20, 24, 125);
/* oklch */ color: oklch(29.9% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#6857a4',
    500: '#14187d',
    950: '#000000',
  },
}
SCSS
$custom: #14187d;
$custom-light: #6857a4;
$custom-dark: #000000;
JSON
{
  "hex": "#14187d",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 237.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29926,
    "c": 0.16284,
    "h": 269.6
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#14187D
secondary
#B2AE3A
accent
#E839EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14187D

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

Preview Lab → · Contrast checker → · Palette generator →

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