#142C54#142C54

#142C54 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.079 H 260.0°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#142C54
RGBrgb(20, 44, 84)
HSLhsl(218, 62%, 20%)
HSVhsv(218, 76%, 33%)
CMYKcmyk(76.2%, 47.6%, 0%, 67.1%)
CIE-LABlab(18.32, 6.28, -27.10)
CIE-LCHlch(18.32, 27.82, 283.06°)
OKLaboklab(29.78% -0.0136 -0.0775)
OKLCHoklch(29.78% 0.079 260)
XYZxyz(2.7888, 2.5899, 8.7387)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C54 #543C14
analogous
#144C54 #142C54 #1C1454
triadic
#142C54 #54142C #2C5414
tetradic
#142C54 #54144C #543C14 #14541C
square
#142C54 #54144C #543C14 #14541C
split-complementary
#142C54 #541C14 #4C5414
monochromatic
#060D19 #081223 #142C54 #204685 #2C60B7

Accessibility & contrast

On white

13.83
#142C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C54
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C54#FFFFFF#000000##FFFFFF
##142C541.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183056
Deuteranopia (green-blind)
#0D2A53
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c54;
/* rgb */ color: rgb(20, 44, 84);
/* oklch */ color: oklch(29.8% 0.079 260.0);
Tailwind
colors: {
  custom: {
    50: '#5b6484',
    500: '#142c54',
    950: '#000000',
  },
}
SCSS
$custom: #142c54;
$custom-light: #5b6484;
$custom-dark: #000000;
JSON
{
  "hex": "#142c54",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 217.5,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.07867,
    "h": 260
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#142C54
secondary
#8C6C38
accent
#A843E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C54

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

Preview Lab → · Contrast checker → · Palette generator →

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