#142070#142070

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

Color values

HEX#142070
RGBrgb(20, 32, 112)
HSLhsl(232, 70%, 26%)
HSVhsv(232, 82%, 44%)
CMYKcmyk(82.1%, 71.4%, 0%, 56.1%)
CIE-LABlab(17.23, 26.65, -47.32)
CIE-LCHlch(17.23, 54.31, 299.39°)
OKLaboklab(29.72% -0.0024 -0.137)
OKLCHoklch(29.72% 0.137 269)
XYZxyz(3.7286, 2.3512, 15.5834)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142070 #706414
analogous
#144E70 #142070 #361470
triadic
#142070 #701420 #207014
tetradic
#142070 #70144E #706414 #147036
square
#142070 #70144E #706414 #147036
split-complementary
#142070 #703614 #4E7014
monochromatic
#05071A #0B113C #142070 #1D2FA4 #273ED8

Accessibility & contrast

On white

14.28
#142070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142070
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142070#FFFFFF#000000##FFFFFF
##1420701.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00266F
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142070;
/* rgb */ color: rgb(20, 32, 112);
/* oklch */ color: oklch(29.7% 0.137 269.0);
Tailwind
colors: {
  custom: {
    50: '#635b9a',
    500: '#142070',
    950: '#000000',
  },
}
SCSS
$custom: #142070;
$custom-light: #635b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#142070",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 232.174,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.13704,
    "h": 269
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#142070
secondary
#A69839
accent
#D53BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142070

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

Preview Lab → · Contrast checker → · Palette generator →

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