#14158E#14158E

#14158E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.186 H 268.8°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#14158E
RGBrgb(20, 21, 142)
HSLhsl(240, 75%, 32%)
HSVhsv(240, 86%, 56%)
CMYKcmyk(85.9%, 85.2%, 0%, 44.3%)
CIE-LABlab(18.53, 43.83, -64.24)
CIE-LCHlch(18.53, 77.77, 304.30°)
OKLaboklab(31.68% -0.0039 -0.186)
OKLCHoklch(31.68% 0.186 268.8)
XYZxyz(5.4375, 2.6374, 25.8084)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#14158E #8E8D14
analogous
#14528E #14158E #50148E
triadic
#14158E #8E1415 #158E14
tetradic
#14158E #8E1452 #8E8D14 #148E50
square
#14158E #8E1452 #8E8D14 #148E50
split-complementary
#14158E #8E5014 #528E14
monochromatic
#050523 #0C0D58 #14158E #1C1DC4 #393BE3

Accessibility & contrast

On white

13.75
#14158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #14158E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##14158E#FFFFFF#000000##FFFFFF
##14158E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #14158e;
/* rgb */ color: rgb(20, 21, 142);
/* oklch */ color: oklch(31.7% 0.186 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d56b0',
    500: '#14158e',
    950: '#000000',
  },
}
SCSS
$custom: #14158e;
$custom-light: #6d56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#14158e",
  "rgb": {
    "r": 20,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 239.508,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.18604,
    "h": 268.8
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#14158E
secondary
#C2C13C
accent
#F036F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #14158E

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

Preview Lab → · Contrast checker → · Palette generator →

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