#142B54#142B54

#142B54 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.080 H 261.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#142B54
RGBrgb(20, 43, 84)
HSLhsl(218, 62%, 20%)
HSVhsv(218, 76%, 33%)
CMYKcmyk(76.2%, 48.8%, 0%, 67.1%)
CIE-LABlab(17.99, 7.02, -27.62)
CIE-LCHlch(17.99, 28.50, 284.25°)
OKLaboklab(29.53% -0.0125 -0.079)
OKLCHoklch(29.53% 0.08 261)
XYZxyz(2.7520, 2.5163, 8.7264)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B54 #543D14
analogous
#144B54 #142B54 #1D1454
triadic
#142B54 #54142B #2B5414
tetradic
#142B54 #54144B #543D14 #14541D
square
#142B54 #54144B #543D14 #14541D
split-complementary
#142B54 #541D14 #4B5414
monochromatic
#060D19 #081223 #142B54 #204485 #2C5EB7

Accessibility & contrast

On white

13.97
#142B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B54
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B54#FFFFFF#000000##FFFFFF
##142B541.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F56
Deuteranopia (green-blind)
#0A2953
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142b54;
/* rgb */ color: rgb(20, 43, 84);
/* oklch */ color: oklch(29.5% 0.080 261.0);
Tailwind
colors: {
  custom: {
    50: '#5b6384',
    500: '#142b54',
    950: '#000000',
  },
}
SCSS
$custom: #142b54;
$custom-light: #5b6384;
$custom-dark: #000000;
JSON
{
  "hex": "#142b54",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 218.438,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29528,
    "c": 0.08003,
    "h": 261
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#142B54
secondary
#8C6E38
accent
#AB43E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142B54

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

Preview Lab → · Contrast checker → · Palette generator →

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