#142071#142071

#142071 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.138 H 269.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#142071
RGBrgb(20, 32, 113)
HSLhsl(232, 70%, 26%)
HSVhsv(232, 82%, 44%)
CMYKcmyk(82.3%, 71.7%, 0%, 55.7%)
CIE-LABlab(17.34, 27.04, -47.79)
CIE-LCHlch(17.34, 54.91, 299.50°)
OKLaboklab(29.83% -0.0025 -0.1384)
OKLCHoklch(29.83% 0.138 269)
XYZxyz(3.7846, 2.3736, 15.8783)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142071 #716514
analogous
#144E71 #142071 #361471
triadic
#142071 #711420 #207114
tetradic
#142071 #71144E #716514 #147136
square
#142071 #71144E #716514 #147136
split-complementary
#142071 #713614 #4E7114
monochromatic
#05071A #0B113D #142071 #1D2FA5 #273ED9

Accessibility & contrast

On white

14.24
#142071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142071
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142071#FFFFFF#000000##FFFFFF
##1420711.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142071;
/* rgb */ color: rgb(20, 32, 113);
/* oklch */ color: oklch(29.8% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#142071',
    950: '#000000',
  },
}
SCSS
$custom: #142071;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142071",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 232.258,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2983,
    "c": 0.13842,
    "h": 269
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#142071
secondary
#A79939
accent
#D63BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142071

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

Preview Lab → · Contrast checker → · Palette generator →

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