#142B72#142B72

#142B72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.126 H 265.8°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#142B72
RGBrgb(20, 43, 114)
HSLhsl(225, 70%, 26%)
HSVhsv(225, 82%, 45%)
CMYKcmyk(82.5%, 62.3%, 0%, 55.3%)
CIE-LABlab(20.40, 19.69, -43.41)
CIE-LCHlch(20.40, 47.67, 294.40°)
OKLaboklab(32.12% -0.0093 -0.1255)
OKLCHoklch(32.12% 0.126 265.8)
XYZxyz(4.1886, 3.0909, 16.2922)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B72 #725B14
analogous
#145A72 #142B72 #2C1472
triadic
#142B72 #72142B #2B7214
tetradic
#142B72 #72145A #725B14 #14722C
square
#142B72 #72145A #725B14 #14722C
split-complementary
#142B72 #722C14 #5A7214
monochromatic
#050A1A #0B173E #142B72 #1D3FA6 #2753D9

Accessibility & contrast

On white

12.98
#142B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B72
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B72#FFFFFF#000000##FFFFFF
##142B721.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142b72;
/* rgb */ color: rgb(20, 43, 114);
/* oklch */ color: oklch(32.1% 0.126 265.8);
Tailwind
colors: {
  custom: {
    50: '#63639b',
    500: '#142b72',
    950: '#000000',
  },
}
SCSS
$custom: #142b72;
$custom-light: #63639b;
$custom-dark: #000000;
JSON
{
  "hex": "#142b72",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 225.319,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32119,
    "c": 0.12581,
    "h": 265.8
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142B72

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

Preview Lab → · Contrast checker → · Palette generator →

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