#142381#142381

#142381 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.157 H 268.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#142381
RGBrgb(20, 35, 129)
HSLhsl(232, 73%, 29%)
HSVhsv(232, 84%, 51%)
CMYKcmyk(84.5%, 72.9%, 0%, 49.4%)
CIE-LABlab(19.78, 31.23, -54.00)
CIE-LCHlch(19.78, 62.38, 300.04°)
OKLaboklab(32.11% -0.0055 -0.1565)
OKLCHoklch(32.11% 0.157 268)
XYZxyz(4.8506, 2.9352, 21.0755)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142381 #817214
analogous
#145A81 #142381 #3C1481
triadic
#142381 #811423 #238114
tetradic
#142381 #81145A #817214 #14813C
square
#142381 #81145A #817214 #14813C
split-complementary
#142381 #813C14 #5A8114
monochromatic
#04071A #0C154C #142381 #1C31B6 #3048DF

Accessibility & contrast

On white

13.23
#142381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142381
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142381#FFFFFF#000000##FFFFFF
##1423811.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142381;
/* rgb */ color: rgb(20, 35, 129);
/* oklch */ color: oklch(32.1% 0.157 268.0);
Tailwind
colors: {
  custom: {
    50: '#685ea7',
    500: '#142381',
    950: '#000000',
  },
}
SCSS
$custom: #142381;
$custom-light: #685ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#142381",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 231.743,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.15658,
    "h": 268
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#142381
secondary
#B6A53B
accent
#D738F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #142381

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

Preview Lab → · Contrast checker → · Palette generator →

#142381 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva