#14187A#14187A

#14187A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.159 H 269.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#14187A
RGBrgb(20, 24, 122)
HSLhsl(238, 72%, 28%)
HSVhsv(238, 84%, 48%)
CMYKcmyk(83.6%, 80.3%, 0%, 52.2%)
CIE-LABlab(16.54, 35.49, -54.91)
CIE-LCHlch(16.54, 65.38, 302.88°)
OKLaboklab(29.56% -0.0005 -0.159)
OKLCHoklch(29.56% 0.159 269.8)
XYZxyz(4.1268, 2.2067, 18.6170)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14187A #7A7614
analogous
#144B7A #14187A #43147A
triadic
#14187A #7A1418 #187A14
tetradic
#14187A #7A144B #7A7614 #147A43
square
#14187A #7A144B #7A7614 #147A43
split-complementary
#14187A #7A4314 #4B7A14
monochromatic
#04051A #0B0E45 #14187A #1D22AF #2C33DC

Accessibility & contrast

On white

14.57
#14187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#14187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14187A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14187A#FFFFFF#000000##FFFFFF
##14187A1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14187a;
/* rgb */ color: rgb(20, 24, 122);
/* oklch */ color: oklch(29.6% 0.159 269.8);
Tailwind
colors: {
  custom: {
    50: '#6757a2',
    500: '#14187a',
    950: '#000000',
  },
}
SCSS
$custom: #14187a;
$custom-light: #6757a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14187a",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 237.647,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29561,
    "c": 0.15905,
    "h": 269.8
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#14187A
secondary
#B0AB3A
accent
#E739EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14187A

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

Preview Lab → · Contrast checker → · Palette generator →

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