#14107F#14107F

#14107F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.172 H 270.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#14107F
RGBrgb(20, 16, 127)
HSLhsl(242, 78%, 28%)
HSVhsv(242, 87%, 50%)
CMYKcmyk(84.3%, 87.4%, 0%, 50.2%)
CIE-LABlab(15.75, 41.34, -59.40)
CIE-LCHlch(15.75, 72.37, 304.83°)
OKLaboklab(29.2% 0.0003 -0.1719)
OKLCHoklch(29.2% 0.172 270.1)
XYZxyz(4.3032, 2.0511, 20.2437)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14107F #7B7F10
analogous
#10437F #14107F #4B107F
triadic
#14107F #7F1410 #107F14
tetradic
#14107F #7F1043 #7B7F10 #107F4B
square
#14107F #7F1043 #7B7F10 #107F4B
split-complementary
#14107F #7F4B10 #437F10
monochromatic
#04031B #0B0949 #14107F #1D17B5 #2D26E4

Accessibility & contrast

On white

14.89
#14107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#14107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14107F
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14107F#FFFFFF#000000##FFFFFF
##14107F1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00217D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #14107f;
/* rgb */ color: rgb(20, 16, 127);
/* oklch */ color: oklch(29.2% 0.172 270.1);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#14107f',
    950: '#000000',
  },
}
SCSS
$custom: #14107f;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#14107f",
  "rgb": {
    "r": 20,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 242.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29199,
    "c": 0.1719,
    "h": 270.1
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#14107F
secondary
#B1B536
accent
#F434ED
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F

Preview Lab

Preview with #14107F

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

Preview Lab → · Contrast checker → · Palette generator →

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