#142E54#142E54

#142E54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.076 H 258.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#142E54
RGBrgb(20, 46, 84)
HSLhsl(216, 62%, 20%)
HSVhsv(216, 76%, 33%)
CMYKcmyk(76.2%, 45.2%, 0%, 67.1%)
CIE-LABlab(18.98, 4.83, -26.04)
CIE-LCHlch(18.98, 26.48, 280.50°)
OKLaboklab(30.29% -0.0158 -0.0743)
OKLCHoklch(30.29% 0.076 258)
XYZxyz(2.8651, 2.7425, 8.7641)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E54 #543A14
analogous
#144E54 #142E54 #1A1454
triadic
#142E54 #54142E #2E5414
tetradic
#142E54 #54144E #543A14 #14541A
square
#142E54 #54144E #543A14 #14541A
split-complementary
#142E54 #541A14 #4E5414
monochromatic
#060E19 #081323 #142E54 #204985 #2C64B7

Accessibility & contrast

On white

13.56
#142E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E54
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E54#FFFFFF#000000##FFFFFF
##142E541.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#122B53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e54;
/* rgb */ color: rgb(20, 46, 84);
/* oklch */ color: oklch(30.3% 0.076 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b6684',
    500: '#142e54',
    950: '#000000',
  },
}
SCSS
$custom: #142e54;
$custom-light: #5b6684;
$custom-dark: #000000;
JSON
{
  "hex": "#142e54",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 215.625,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30292,
    "c": 0.076,
    "h": 258
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#142E54
secondary
#8C6A38
accent
#A343E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E54

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

Preview Lab → · Contrast checker → · Palette generator →

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