#14187B#14187B

#14187B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.160 H 269.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#14187B
RGBrgb(20, 24, 123)
HSLhsl(238, 72%, 28%)
HSVhsv(238, 84%, 48%)
CMYKcmyk(83.7%, 80.5%, 0%, 51.8%)
CIE-LABlab(16.66, 35.85, -55.35)
CIE-LCHlch(16.66, 65.94, 302.93°)
OKLaboklab(29.68% -0.0007 -0.1603)
OKLCHoklch(29.68% 0.16 269.7)
XYZxyz(4.1891, 2.2316, 18.9450)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14187B #7B7714
analogous
#144B7B #14187B #43147B
triadic
#14187B #7B1418 #187B14
tetradic
#14187B #7B144B #7B7714 #147B43
square
#14187B #7B144B #7B7714 #147B43
split-complementary
#14187B #7B4314 #4B7B14
monochromatic
#04051A #0B0E46 #14187B #1D22B0 #2D33DD

Accessibility & contrast

On white

14.52
#14187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#14187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14187B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14187B#FFFFFF#000000##FFFFFF
##14187B1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #14187b;
/* rgb */ color: rgb(20, 24, 123);
/* oklch */ color: oklch(29.7% 0.160 269.7);
Tailwind
colors: {
  custom: {
    50: '#6857a2',
    500: '#14187b',
    950: '#000000',
  },
}
SCSS
$custom: #14187b;
$custom-light: #6857a2;
$custom-dark: #000000;
JSON
{
  "hex": "#14187b",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 237.67,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29682,
    "c": 0.16032,
    "h": 269.7
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#14187B
secondary
#B1AC3A
accent
#E839EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #14187B

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

Preview Lab → · Contrast checker → · Palette generator →

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