#142C55#142C55

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

Color values

HEX#142C55
RGBrgb(20, 44, 85)
HSLhsl(218, 62%, 21%)
HSVhsv(218, 76%, 33%)
CMYKcmyk(76.5%, 48.2%, 0%, 66.7%)
CIE-LABlab(18.39, 6.71, -27.66)
CIE-LCHlch(18.39, 28.46, 283.63°)
OKLaboklab(29.86% -0.0134 -0.0791)
OKLCHoklch(29.86% 0.08 260.4)
XYZxyz(2.8283, 2.6057, 8.9465)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C55 #553D14
analogous
#144C55 #142C55 #1C1455
triadic
#142C55 #55142C #2C5514
tetradic
#142C55 #55144C #553D14 #14551C
square
#142C55 #55144C #553D14 #14551C
split-complementary
#142C55 #551C14 #4C5514
monochromatic
#060D19 #081223 #142C55 #204687 #2B5FB8

Accessibility & contrast

On white

13.80
#142C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C55
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C55#FFFFFF#000000##FFFFFF
##142C551.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183057
Deuteranopia (green-blind)
#0C2A54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c55;
/* rgb */ color: rgb(20, 44, 85);
/* oklch */ color: oklch(29.9% 0.080 260.4);
Tailwind
colors: {
  custom: {
    50: '#5b6485',
    500: '#142c55',
    950: '#000000',
  },
}
SCSS
$custom: #142c55;
$custom-light: #5b6485;
$custom-dark: #000000;
JSON
{
  "hex": "#142c55",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 85
  },
  "hsl": {
    "h": 217.846,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29857,
    "c": 0.08025,
    "h": 260.4
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#142C55
secondary
#8D6E38
accent
#A943E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C55

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

Preview Lab → · Contrast checker → · Palette generator →

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