#142B52#142B52

#142B52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.077 H 260.3°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#142B52
RGBrgb(20, 43, 82)
HSLhsl(218, 61%, 20%)
HSVhsv(218, 76%, 32%)
CMYKcmyk(75.6%, 47.6%, 0%, 67.8%)
CIE-LABlab(17.85, 6.17, -26.50)
CIE-LCHlch(17.85, 27.21, 283.10°)
OKLaboklab(29.38% -0.013 -0.0757)
OKLCHoklch(29.38% 0.077 260.3)
XYZxyz(2.6748, 2.4854, 8.3198)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B52 #523B14
analogous
#144A52 #142B52 #1C1452
triadic
#142B52 #52142B #2B5214
tetradic
#142B52 #52144A #523B14 #14521C
square
#142B52 #52144A #523B14 #14521C
split-complementary
#142B52 #521C14 #4A5214
monochromatic
#060D19 #081121 #142B52 #204583 #2C5FB4

Accessibility & contrast

On white

14.03
#142B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B52
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B52#FFFFFF#000000##FFFFFF
##142B521.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F53
Deuteranopia (green-blind)
#0D2951
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142b52;
/* rgb */ color: rgb(20, 43, 82);
/* oklch */ color: oklch(29.4% 0.077 260.3);
Tailwind
colors: {
  custom: {
    50: '#5a6383',
    500: '#142b52',
    950: '#000000',
  },
}
SCSS
$custom: #142b52;
$custom-light: #5a6383;
$custom-dark: #000000;
JSON
{
  "hex": "#142b52",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 217.742,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.07685,
    "h": 260.3
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#142B52
secondary
#8A6C38
accent
#A944E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #142B52

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

Preview Lab → · Contrast checker → · Palette generator →

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