#142D54#142D54

#142D54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.0% C 0.077 H 259.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#142D54
RGBrgb(20, 45, 84)
HSLhsl(217, 62%, 20%)
HSVhsv(217, 76%, 33%)
CMYKcmyk(76.2%, 46.4%, 0%, 67.1%)
CIE-LABlab(18.65, 5.55, -26.57)
CIE-LCHlch(18.65, 27.14, 281.81°)
OKLaboklab(30.04% -0.0147 -0.0759)
OKLCHoklch(30.04% 0.077 259)
XYZxyz(2.8265, 2.6653, 8.7513)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D54 #543B14
analogous
#144D54 #142D54 #1B1454
triadic
#142D54 #54142D #2D5414
tetradic
#142D54 #54144D #543B14 #14541B
square
#142D54 #54144D #543B14 #14541B
split-complementary
#142D54 #541B14 #4D5414
monochromatic
#060D19 #081323 #142D54 #204785 #2C62B7

Accessibility & contrast

On white

13.70
#142D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D54
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D54#FFFFFF#000000##FFFFFF
##142D541.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3156
Deuteranopia (green-blind)
#0F2B53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142d54;
/* rgb */ color: rgb(20, 45, 84);
/* oklch */ color: oklch(30.0% 0.077 259.0);
Tailwind
colors: {
  custom: {
    50: '#5b6584',
    500: '#142d54',
    950: '#000000',
  },
}
SCSS
$custom: #142d54;
$custom-light: #5b6584;
$custom-dark: #000000;
JSON
{
  "hex": "#142d54",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 216.563,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.07732,
    "h": 259
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#142D54
secondary
#8C6B38
accent
#A643E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D54

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

Preview Lab → · Contrast checker → · Palette generator →

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