#142970#142970

#142970 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.126 H 266.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#142970
RGBrgb(20, 41, 112)
HSLhsl(226, 70%, 26%)
HSVhsv(226, 82%, 44%)
CMYKcmyk(82.1%, 63.4%, 0%, 56.1%)
CIE-LABlab(19.66, 20.30, -43.35)
CIE-LCHlch(19.66, 47.87, 295.10°)
OKLaboklab(31.51% -0.008 -0.1253)
OKLCHoklch(31.51% 0.126 266.4)
XYZxyz(4.0050, 2.9040, 15.6755)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142970 #705B14
analogous
#145770 #142970 #2D1470
triadic
#142970 #701429 #297014
tetradic
#142970 #701457 #705B14 #14702D
square
#142970 #701457 #705B14 #14702D
split-complementary
#142970 #702D14 #577014
monochromatic
#050A1A #0B163C #142970 #1D3CA4 #274FD8

Accessibility & contrast

On white

13.28
#142970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142970
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142970#FFFFFF#000000##FFFFFF
##1429701.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142970;
/* rgb */ color: rgb(20, 41, 112);
/* oklch */ color: oklch(31.5% 0.126 266.4);
Tailwind
colors: {
  custom: {
    50: '#63629a',
    500: '#142970',
    950: '#000000',
  },
}
SCSS
$custom: #142970;
$custom-light: #63629a;
$custom-dark: #000000;
JSON
{
  "hex": "#142970",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 226.304,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31505,
    "c": 0.12556,
    "h": 266.4
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#142970
secondary
#A68E39
accent
#C43BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142970

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

Preview Lab → · Contrast checker → · Palette generator →

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