#142D55#142D55

#142D55 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.079 H 259.4°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#142D55
RGBrgb(20, 45, 85)
HSLhsl(217, 62%, 21%)
HSVhsv(217, 76%, 33%)
CMYKcmyk(76.5%, 47.1%, 0%, 66.7%)
CIE-LABlab(18.72, 5.98, -27.13)
CIE-LCHlch(18.72, 27.78, 282.42°)
OKLaboklab(30.11% -0.0145 -0.0776)
OKLCHoklch(30.11% 0.079 259.4)
XYZxyz(2.8660, 2.6811, 8.9590)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D55 #553C14
analogous
#144D55 #142D55 #1B1455
triadic
#142D55 #55142D #2D5514
tetradic
#142D55 #55144D #553C14 #14551B
square
#142D55 #55144D #553C14 #14551B
split-complementary
#142D55 #551B14 #4D5514
monochromatic
#060D19 #081323 #142D55 #204787 #2B61B8

Accessibility & contrast

On white

13.67
#142D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D55
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D55#FFFFFF#000000##FFFFFF
##142D551.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3157
Deuteranopia (green-blind)
#0E2B54
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d55;
/* rgb */ color: rgb(20, 45, 85);
/* oklch */ color: oklch(30.1% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#5b6585',
    500: '#142d55',
    950: '#000000',
  },
}
SCSS
$custom: #142d55;
$custom-light: #5b6585;
$custom-dark: #000000;
JSON
{
  "hex": "#142d55",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 216.923,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.0789,
    "h": 259.4
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#142D55
secondary
#8D6C38
accent
#A743E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D55

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

Preview Lab → · Contrast checker → · Palette generator →

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