#14186B#14186B

#14186B is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.139 H 270.9°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#14186B
RGBrgb(20, 24, 107)
HSLhsl(237, 69%, 25%)
HSVhsv(237, 81%, 42%)
CMYKcmyk(81.3%, 77.6%, 0%, 58%)
CIE-LABlab(14.75, 30.04, -48.15)
CIE-LCHlch(14.75, 56.75, 301.95°)
OKLaboklab(27.77% 0.0022 -0.1394)
OKLCHoklch(27.77% 0.139 270.9)
XYZxyz(3.2681, 1.8632, 14.0945)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14186B #6B6714
analogous
#14446B #14186B #3B146B
triadic
#14186B #6B1418 #186B14
tetradic
#14186B #6B1444 #6B6714 #146B3B
square
#14186B #6B1444 #6B6714 #146B3B
split-complementary
#14186B #6B3B14 #446B14
monochromatic
#05061A #0A0C37 #14186B #1E249F #272FD2

Accessibility & contrast

On white

15.30
#14186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#14186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14186B
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14186B#FFFFFF#000000##FFFFFF
##14186B1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #14186b;
/* rgb */ color: rgb(20, 24, 107);
/* oklch */ color: oklch(27.8% 0.139 270.9);
Tailwind
colors: {
  custom: {
    50: '#635696',
    500: '#14186b',
    950: '#000000',
  },
}
SCSS
$custom: #14186b;
$custom-light: #635696;
$custom-dark: #000000;
JSON
{
  "hex": "#14186b",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 237.241,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27772,
    "c": 0.13945,
    "h": 270.9
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#14186B
secondary
#A29D39
accent
#E33CEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #14186B

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

Preview Lab → · Contrast checker → · Palette generator →

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