#14187E#14187E

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

Color values

HEX#14187E
RGBrgb(20, 24, 126)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 49%)
CMYKcmyk(84.1%, 81%, 0%, 50.6%)
CIE-LABlab(17.03, 36.90, -56.65)
CIE-LCHlch(17.03, 67.61, 303.08°)
OKLaboklab(30.05% -0.0013 -0.1641)
OKLCHoklch(30.05% 0.164 269.5)
XYZxyz(4.3797, 2.3078, 19.9492)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14187E #7E7A14
analogous
#144D7E #14187E #45147E
triadic
#14187E #7E1418 #187E14
tetradic
#14187E #7E144D #7E7A14 #147E45
square
#14187E #7E144D #7E7A14 #147E45
split-complementary
#14187E #7E4514 #4D7E14
monochromatic
#04051A #0C0E49 #14187E #1C22B3 #2E35DE

Accessibility & contrast

On white

14.37
#14187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14187E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14187E#FFFFFF#000000##FFFFFF
##14187E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #14187e;
/* rgb */ color: rgb(20, 24, 126);
/* oklch */ color: oklch(30.0% 0.164 269.5);
Tailwind
colors: {
  custom: {
    50: '#6857a5',
    500: '#14187e',
    950: '#000000',
  },
}
SCSS
$custom: #14187e;
$custom-light: #6857a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14187e",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 237.736,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30048,
    "c": 0.16411,
    "h": 269.5
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#14187E
secondary
#B3AF3A
accent
#E838EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14187E

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

Preview Lab → · Contrast checker → · Palette generator →

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