#14197F#14197F

#14197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.164 H 269.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#14197F
RGBrgb(20, 25, 127)
HSLhsl(237, 73%, 29%)
HSVhsv(237, 84%, 50%)
CMYKcmyk(84.3%, 80.3%, 0%, 50.2%)
CIE-LABlab(17.35, 36.68, -56.76)
CIE-LCHlch(17.35, 67.58, 302.87°)
OKLaboklab(30.31% -0.0017 -0.1644)
OKLCHoklch(30.31% 0.164 269.4)
XYZxyz(4.4656, 2.3758, 20.2978)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14197F #7F7A14
analogous
#144F7F #14197F #45147F
triadic
#14197F #7F1419 #197F14
tetradic
#14197F #7F144F #7F7A14 #147F45
square
#14197F #7F144F #7F7A14 #147F45
split-complementary
#14197F #7F4514 #4F7F14
monochromatic
#04051A #0C0F4A #14197F #1C23B4 #2F37DE

Accessibility & contrast

On white

14.24
#14197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#14197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14197F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14197F#FFFFFF#000000##FFFFFF
##14197F1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14197f;
/* rgb */ color: rgb(20, 25, 127);
/* oklch */ color: oklch(30.3% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#6957a5',
    500: '#14197f',
    950: '#000000',
  },
}
SCSS
$custom: #14197f;
$custom-light: #6957a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14197f",
  "rgb": {
    "r": 20,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 237.196,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.16442,
    "h": 269.4
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#14197F
secondary
#B4AF3B
accent
#E738EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14197F

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

Preview Lab → · Contrast checker → · Palette generator →

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