#14128F#14128F

#14128F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.189 H 268.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#14128F
RGBrgb(20, 18, 143)
HSLhsl(241, 78%, 32%)
HSVhsv(241, 87%, 56%)
CMYKcmyk(86%, 87.4%, 0%, 43.9%)
CIE-LABlab(18.20, 45.50, -65.41)
CIE-LCHlch(18.20, 79.68, 304.83°)
OKLaboklab(31.49% -0.0037 -0.1893)
OKLCHoklch(31.49% 0.189 268.9)
XYZxyz(5.4610, 2.5638, 26.1883)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14128F #8D8F12
analogous
#124F8F #14128F #53128F
triadic
#14128F #8F1412 #128F14
tetradic
#14128F #8F124F #8D8F12 #128F53
square
#14128F #8F124F #8D8F12 #128F53
split-complementary
#14128F #8F5312 #4F8F12
monochromatic
#050422 #0C0B59 #14128F #1C19C5 #3936E6

Accessibility & contrast

On white

13.88
#14128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#14128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14128F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14128F#FFFFFF#000000##FFFFFF
##14128F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #14128f;
/* rgb */ color: rgb(20, 18, 143);
/* oklch */ color: oklch(31.5% 0.189 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e55b1',
    500: '#14128f',
    950: '#000000',
  },
}
SCSS
$custom: #14128f;
$custom-light: #6e55b1;
$custom-dark: #000000;
JSON
{
  "hex": "#14128f",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 240.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.18933,
    "h": 268.9
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#14128F
secondary
#C1C33A
accent
#F434F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14128F

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

Preview Lab → · Contrast checker → · Palette generator →

#14128F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva