#142C52#142C52

#142C52 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.075 H 259.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#142C52
RGBrgb(20, 44, 82)
HSLhsl(217, 61%, 20%)
HSVhsv(217, 76%, 32%)
CMYKcmyk(75.6%, 46.3%, 0%, 67.8%)
CIE-LABlab(18.18, 5.44, -25.97)
CIE-LCHlch(18.18, 26.54, 281.82°)
OKLaboklab(29.63% -0.0141 -0.0742)
OKLCHoklch(29.63% 0.076 259.3)
XYZxyz(2.7116, 2.5590, 8.3320)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C52 #523A14
analogous
#144B52 #142C52 #1B1452
triadic
#142C52 #52142C #2C5214
tetradic
#142C52 #52144B #523A14 #14521B
square
#142C52 #52144B #523A14 #14521B
split-complementary
#142C52 #521B14 #4B5214
monochromatic
#060D19 #081221 #142C52 #204683 #2C61B4

Accessibility & contrast

On white

13.89
#142C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C52
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C52#FFFFFF#000000##FFFFFF
##142C521.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F53
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142c52;
/* rgb */ color: rgb(20, 44, 82);
/* oklch */ color: oklch(29.6% 0.075 259.3);
Tailwind
colors: {
  custom: {
    50: '#5a6483',
    500: '#142c52',
    950: '#000000',
  },
}
SCSS
$custom: #142c52;
$custom-light: #5a6483;
$custom-dark: #000000;
JSON
{
  "hex": "#142c52",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 216.774,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29631,
    "c": 0.0755,
    "h": 259.3
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#142C52
secondary
#8A6A38
accent
#A644E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #142C52

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

Preview Lab → · Contrast checker → · Palette generator →

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