#142B71#142B71

#142B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.124 H 265.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#142B71
RGBrgb(20, 43, 113)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 82%, 44%)
CMYKcmyk(82.3%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.32, 19.28, -42.91)
CIE-LCHlch(20.32, 47.05, 294.19°)
OKLaboklab(32.03% -0.0093 -0.124)
OKLCHoklch(32.03% 0.124 265.7)
XYZxyz(4.1320, 3.0683, 15.9940)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B71 #715A14
analogous
#145971 #142B71 #2B1471
triadic
#142B71 #71142B #2B7114
tetradic
#142B71 #711459 #715A14 #14712B
square
#142B71 #711459 #715A14 #14712B
split-complementary
#142B71 #712B14 #597114
monochromatic
#050A1A #0B173D #142B71 #1D3FA5 #2753D9

Accessibility & contrast

On white

13.01
#142B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B71
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B71#FFFFFF#000000##FFFFFF
##142B711.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142b71;
/* rgb */ color: rgb(20, 43, 113);
/* oklch */ color: oklch(32.0% 0.124 265.7);
Tailwind
colors: {
  custom: {
    50: '#63639a',
    500: '#142b71',
    950: '#000000',
  },
}
SCSS
$custom: #142b71;
$custom-light: #63639a;
$custom-dark: #000000;
JSON
{
  "hex": "#142b71",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 225.161,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.12436,
    "h": 265.7
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#142B71
secondary
#A78C39
accent
#C13BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142B71

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

Preview Lab → · Contrast checker → · Palette generator →

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