#142A70#142A70

#142A70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.124 H 266.0°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#142A70
RGBrgb(20, 42, 112)
HSLhsl(226, 70%, 26%)
HSVhsv(226, 82%, 44%)
CMYKcmyk(82.1%, 62.5%, 0%, 56.1%)
CIE-LABlab(19.94, 19.59, -42.88)
CIE-LCHlch(19.94, 47.14, 294.55°)
OKLaboklab(31.72% -0.0087 -0.1239)
OKLCHoklch(31.72% 0.124 266)
XYZxyz(4.0401, 2.9740, 15.6872)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A70 #705A14
analogous
#145870 #142A70 #2C1470
triadic
#142A70 #70142A #2A7014
tetradic
#142A70 #701458 #705A14 #14702C
square
#142A70 #701458 #705A14 #14702C
split-complementary
#142A70 #702C14 #587014
monochromatic
#050A1A #0B173C #142A70 #1D3DA4 #2751D8

Accessibility & contrast

On white

13.17
#142A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A70
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A70#FFFFFF#000000##FFFFFF
##142A701.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142a70;
/* rgb */ color: rgb(20, 42, 112);
/* oklch */ color: oklch(31.7% 0.124 266.0);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#142a70',
    950: '#000000',
  },
}
SCSS
$custom: #142a70;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#142a70",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 225.652,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.12423,
    "h": 266
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#142A70
secondary
#A68C39
accent
#C23BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142A70

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

Preview Lab → · Contrast checker → · Palette generator →

#142A70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva