#14187F#14187F

#14187F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.165 H 269.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#14187F
RGBrgb(20, 24, 127)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 50%)
CMYKcmyk(84.3%, 81.1%, 0%, 50.2%)
CIE-LABlab(17.15, 37.25, -57.08)
CIE-LCHlch(17.15, 68.16, 303.13°)
OKLaboklab(30.17% -0.0015 -0.1653)
OKLCHoklch(30.17% 0.165 269.5)
XYZxyz(4.4446, 2.3338, 20.2908)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14187F #7F7B14
analogous
#144E7F #14187F #46147F
triadic
#14187F #7F1418 #187F14
tetradic
#14187F #7F144E #7F7B14 #147F46
square
#14187F #7F144E #7F7B14 #147F46
split-complementary
#14187F #7F4614 #4E7F14
monochromatic
#04051A #0C0E4A #14187F #1C22B4 #2F36DE

Accessibility & contrast

On white

14.32
#14187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#14187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14187F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14187F#FFFFFF#000000##FFFFFF
##14187F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #14187f;
/* rgb */ color: rgb(20, 24, 127);
/* oklch */ color: oklch(30.2% 0.165 269.5);
Tailwind
colors: {
  custom: {
    50: '#6957a5',
    500: '#14187f',
    950: '#000000',
  },
}
SCSS
$custom: #14187f;
$custom-light: #6957a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14187f",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 237.757,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3017,
    "c": 0.16536,
    "h": 269.5
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#14187F
secondary
#B4B03B
accent
#E938EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14187F

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

Preview Lab → · Contrast checker → · Palette generator →

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