#14197E#14197E

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

Color values

HEX#14197E
RGBrgb(20, 25, 126)
HSLhsl(237, 73%, 29%)
HSVhsv(237, 84%, 49%)
CMYKcmyk(84.1%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.23, 36.33, -56.32)
CIE-LCHlch(17.23, 67.02, 302.82°)
OKLaboklab(30.19% -0.0016 -0.1631)
OKLCHoklch(30.19% 0.163 269.4)
XYZxyz(4.4007, 2.3498, 19.9562)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14197E #7E7914
analogous
#144E7E #14197E #44147E
triadic
#14197E #7E1419 #197E14
tetradic
#14197E #7E144E #7E7914 #147E44
square
#14197E #7E144E #7E7914 #147E44
split-complementary
#14197E #7E4414 #4E7E14
monochromatic
#04051A #0C0F49 #14197E #1C23B3 #2E37DE

Accessibility & contrast

On white

14.29
#14197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#14197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14197E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14197E#FFFFFF#000000##FFFFFF
##14197E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14197e;
/* rgb */ color: rgb(20, 25, 126);
/* oklch */ color: oklch(30.2% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#6857a5',
    500: '#14197e',
    950: '#000000',
  },
}
SCSS
$custom: #14197e;
$custom-light: #6857a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14197e",
  "rgb": {
    "r": 20,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 237.17,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30188,
    "c": 0.16316,
    "h": 269.4
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#14197E
secondary
#B3AE3A
accent
#E738EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14197E

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

Preview Lab → · Contrast checker → · Palette generator →

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