#14128C#14128C

#14128C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.186 H 269.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#14128C
RGBrgb(20, 18, 140)
HSLhsl(241, 77%, 31%)
HSVhsv(241, 87%, 55%)
CMYKcmyk(85.7%, 87.1%, 0%, 45.1%)
CIE-LABlab(17.80, 44.56, -64.20)
CIE-LCHlch(17.80, 78.15, 304.76°)
OKLaboklab(31.1% -0.0031 -0.1858)
OKLCHoklch(31.1% 0.186 269.1)
XYZxyz(5.2368, 2.4742, 25.0074)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14128C #8A8C12
analogous
#124D8C #14128C #51128C
triadic
#14128C #8C1412 #128C14
tetradic
#14128C #8C124D #8A8C12 #128C51
square
#14128C #8C124D #8A8C12 #128C51
split-complementary
#14128C #8C5112 #4D8C12
monochromatic
#050420 #0C0B56 #14128C #1C19C2 #3634E5

Accessibility & contrast

On white

14.05
#14128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#14128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14128C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14128C#FFFFFF#000000##FFFFFF
##14128C1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #14128c;
/* rgb */ color: rgb(20, 18, 140);
/* oklch */ color: oklch(31.1% 0.186 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d55af',
    500: '#14128c',
    950: '#000000',
  },
}
SCSS
$custom: #14128c;
$custom-light: #6d55af;
$custom-dark: #000000;
JSON
{
  "hex": "#14128c",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 240.984,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.18584,
    "h": 269.1
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#14128C
secondary
#BEC039
accent
#F434F1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #14128C

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

Preview Lab → · Contrast checker → · Palette generator →

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