#142138#142138

#142138 is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.9% C 0.048 H 261.2°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#142138
RGBrgb(20, 33, 56)
HSLhsl(218, 47%, 15%)
HSVhsv(218, 64%, 22%)
CMYKcmyk(64.3%, 41.1%, 0%, 78%)
CIE-LABlab(12.75, 2.78, -16.66)
CIE-LCHlch(12.75, 16.89, 279.46°)
OKLaboklab(24.86% -0.0073 -0.0471)
OKLCHoklch(24.86% 0.048 261.2)
XYZxyz(1.5459, 1.5218, 3.9529)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142138 #382B14
analogous
#143338 #142138 #191438
triadic
#142138 #381421 #213814
tetradic
#142138 #381433 #382B14 #143819
square
#142138 #381433 #382B14 #143819
split-complementary
#142138 #381914 #333814
monochromatic
#080D17 #080D17 #142138 #243C65 #345692

Accessibility & contrast

On white

16.10
#142138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#142138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142138
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142138#FFFFFF#000000##FFFFFF
##1421381.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#131F38
Tritanopia (blue-blind)
#022629
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #142138;
/* rgb */ color: rgb(20, 33, 56);
/* oklch */ color: oklch(24.9% 0.048 261.2);
Tailwind
colors: {
  custom: {
    50: '#555b6e',
    500: '#142138',
    950: '#000000',
  },
}
SCSS
$custom: #142138;
$custom-light: #555b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#142138",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 218.333,
    "s": 47.368,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24864,
    "c": 0.04763,
    "h": 261.2
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#142138
secondary
#705C38
accent
#A751D7
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #142138

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

Preview Lab → · Contrast checker → · Palette generator →

#142138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva