#14158F#14158F

#14158F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.187 H 268.7°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#14158F
RGBrgb(20, 21, 143)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 86%, 56%)
CMYKcmyk(86%, 85.3%, 0%, 43.9%)
CIE-LABlab(18.66, 44.15, -64.65)
CIE-LCHlch(18.66, 78.28, 304.33°)
OKLaboklab(31.81% -0.0041 -0.1872)
OKLCHoklch(31.81% 0.187 268.7)
XYZxyz(5.5129, 2.6676, 26.2056)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14158F #8F8E14
analogous
#14538F #14158F #51148F
triadic
#14158F #8F1415 #158F14
tetradic
#14158F #8F1453 #8F8E14 #148F51
square
#14158F #8F1453 #8F8E14 #148F51
split-complementary
#14158F #8F5114 #538F14
monochromatic
#050524 #0C0D59 #14158F #1C1DC5 #3A3BE3

Accessibility & contrast

On white

13.69
#14158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#14158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #14158F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14158F#FFFFFF#000000##FFFFFF
##14158F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #14158f;
/* rgb */ color: rgb(20, 21, 143);
/* oklch */ color: oklch(31.8% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#6e56b1',
    500: '#14158f',
    950: '#000000',
  },
}
SCSS
$custom: #14158f;
$custom-light: #6e56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#14158f",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 239.512,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.31807,
    "c": 0.18722,
    "h": 268.7
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#14158F
secondary
#C3C23C
accent
#F136F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14158F

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

Preview Lab → · Contrast checker → · Palette generator →

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