#142F55#142F55

#142F55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.076 H 257.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#142F55
RGBrgb(20, 47, 85)
HSLhsl(215, 62%, 21%)
HSVhsv(215, 76%, 33%)
CMYKcmyk(76.5%, 44.7%, 0%, 66.7%)
CIE-LABlab(19.38, 4.53, -26.07)
CIE-LCHlch(19.38, 26.46, 279.85°)
OKLaboklab(30.62% -0.0167 -0.0744)
OKLCHoklch(30.62% 0.076 257.4)
XYZxyz(2.9441, 2.8373, 8.9851)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F55 #553A14
analogous
#144F55 #142F55 #191455
triadic
#142F55 #55142F #2F5514
tetradic
#142F55 #55144F #553A14 #145519
square
#142F55 #55144F #553A14 #145519
split-complementary
#142F55 #551914 #4F5514
monochromatic
#060E19 #081423 #142F55 #204A87 #2B66B8

Accessibility & contrast

On white

13.40
#142F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F55
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F55#FFFFFF#000000##FFFFFF
##142F551.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3256
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#00383D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142f55;
/* rgb */ color: rgb(20, 47, 85);
/* oklch */ color: oklch(30.6% 0.076 257.4);
Tailwind
colors: {
  custom: {
    50: '#5b6785',
    500: '#142f55',
    950: '#000000',
  },
}
SCSS
$custom: #142f55;
$custom-light: #5b6785;
$custom-dark: #000000;
JSON
{
  "hex": "#142f55",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 85
  },
  "hsl": {
    "h": 215.077,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30623,
    "c": 0.07625,
    "h": 257.4
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#142F55
secondary
#8D6A38
accent
#A243E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #142F55

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

Preview Lab → · Contrast checker → · Palette generator →

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