#142081#142081

#142081 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.160 H 268.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#142081
RGBrgb(20, 32, 129)
HSLhsl(233, 73%, 29%)
HSVhsv(233, 84%, 51%)
CMYKcmyk(84.5%, 75.2%, 0%, 49.4%)
CIE-LABlab(19.08, 33.16, -55.15)
CIE-LCHlch(19.08, 64.36, 301.02°)
OKLaboklab(31.61% -0.0044 -0.1598)
OKLCHoklch(31.61% 0.16 268.4)
XYZxyz(4.7661, 2.7662, 21.0473)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142081 #817514
analogous
#145781 #142081 #3E1481
triadic
#142081 #811420 #208114
tetradic
#142081 #811457 #817514 #14813E
square
#142081 #811457 #817514 #14813E
split-complementary
#142081 #813E14 #578114
monochromatic
#04071A #0C134C #142081 #1C2DB6 #3044DF

Accessibility & contrast

On white

13.52
#142081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142081
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142081#FFFFFF#000000##FFFFFF
##1420811.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142081;
/* rgb */ color: rgb(20, 32, 129);
/* oklch */ color: oklch(31.6% 0.160 268.4);
Tailwind
colors: {
  custom: {
    50: '#685ca7',
    500: '#142081',
    950: '#000000',
  },
}
SCSS
$custom: #142081;
$custom-light: #685ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#142081",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 233.394,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.15989,
    "h": 268.4
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#142081
secondary
#B6A83B
accent
#DC38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #142081

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

Preview Lab → · Contrast checker → · Palette generator →

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