#142D52#142D52

#142D52 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.074 H 258.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#142D52
RGBrgb(20, 45, 82)
HSLhsl(216, 61%, 20%)
HSVhsv(216, 76%, 32%)
CMYKcmyk(75.6%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.52, 4.71, -25.44)
CIE-LCHlch(18.52, 25.88, 280.49°)
OKLaboklab(29.89% -0.0152 -0.0726)
OKLCHoklch(29.89% 0.074 258.2)
XYZxyz(2.7493, 2.6344, 8.3446)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D52 #523914
analogous
#144C52 #142D52 #1A1452
triadic
#142D52 #52142D #2D5214
tetradic
#142D52 #52144C #523914 #14521A
square
#142D52 #52144C #523914 #14521A
split-complementary
#142D52 #521A14 #4C5214
monochromatic
#060E19 #081221 #142D52 #204883 #2C63B4

Accessibility & contrast

On white

13.75
#142D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D52
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D52#FFFFFF#000000##FFFFFF
##142D521.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3053
Deuteranopia (green-blind)
#122A51
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142d52;
/* rgb */ color: rgb(20, 45, 82);
/* oklch */ color: oklch(29.9% 0.074 258.2);
Tailwind
colors: {
  custom: {
    50: '#5a6583',
    500: '#142d52',
    950: '#000000',
  },
}
SCSS
$custom: #142d52;
$custom-light: #5a6583;
$custom-dark: #000000;
JSON
{
  "hex": "#142d52",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 215.806,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29888,
    "c": 0.07417,
    "h": 258.2
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#142D52
secondary
#8A6938
accent
#A344E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142D52

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

Preview Lab → · Contrast checker → · Palette generator →

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