#142181#142181

#142181 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 268.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#142181
RGBrgb(20, 33, 129)
HSLhsl(233, 73%, 29%)
HSVhsv(233, 84%, 51%)
CMYKcmyk(84.5%, 74.4%, 0%, 49.4%)
CIE-LABlab(19.31, 32.53, -54.78)
CIE-LCHlch(19.31, 63.70, 300.70°)
OKLaboklab(31.78% -0.0047 -0.1587)
OKLCHoklch(31.78% 0.159 268.3)
XYZxyz(4.7934, 2.8208, 21.0565)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142181 #817414
analogous
#145881 #142181 #3E1481
triadic
#142181 #811421 #218114
tetradic
#142181 #811458 #817414 #14813E
square
#142181 #811458 #817414 #14813E
split-complementary
#142181 #813E14 #588114
monochromatic
#04071A #0C134C #142181 #1C2FB6 #3045DF

Accessibility & contrast

On white

13.43
#142181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142181
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142181#FFFFFF#000000##FFFFFF
##1421811.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142181;
/* rgb */ color: rgb(20, 33, 129);
/* oklch */ color: oklch(31.8% 0.159 268.3);
Tailwind
colors: {
  custom: {
    50: '#685da7',
    500: '#142181',
    950: '#000000',
  },
}
SCSS
$custom: #142181;
$custom-light: #685da7;
$custom-dark: #000000;
JSON
{
  "hex": "#142181",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 232.844,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.1588,
    "h": 268.3
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#142181
secondary
#B6A73B
accent
#DA38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #142181

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

Preview Lab → · Contrast checker → · Palette generator →

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