#14127F#14127F

#14127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.170 H 270.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#14127F
RGBrgb(20, 18, 127)
HSLhsl(241, 75%, 28%)
HSVhsv(241, 86%, 50%)
CMYKcmyk(84.3%, 85.8%, 0%, 50.2%)
CIE-LABlab(16.07, 40.40, -58.88)
CIE-LCHlch(16.07, 71.40, 304.46°)
OKLaboklab(29.42% -0.0001 -0.1704)
OKLCHoklch(29.42% 0.17 270)
XYZxyz(4.3343, 2.1131, 20.2540)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14127F #7D7F12
analogous
#12467F #14127F #4A127F
triadic
#14127F #7F1412 #127F14
tetradic
#14127F #7F1246 #7D7F12 #127F4A
square
#14127F #7F1246 #7D7F12 #127F4A
split-complementary
#14127F #7F4A12 #467F12
monochromatic
#04041B #0C0A49 #14127F #1C1AB5 #2E2BE1

Accessibility & contrast

On white

14.76
#14127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#14127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14127F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14127F#FFFFFF#000000##FFFFFF
##14127F1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #14127f;
/* rgb */ color: rgb(20, 18, 127);
/* oklch */ color: oklch(29.4% 0.170 270.0);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#14127f',
    950: '#000000',
  },
}
SCSS
$custom: #14127f;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14127f",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 241.101,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29418,
    "c": 0.17042,
    "h": 270
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#14127F
secondary
#B2B538
accent
#F236EE
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #14127F

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

Preview Lab → · Contrast checker → · Palette generator →

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