#142A55#142A55

#142A55 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.083 H 262.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#142A55
RGBrgb(20, 42, 85)
HSLhsl(220, 62%, 21%)
HSVhsv(220, 76%, 33%)
CMYKcmyk(76.5%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.74, 8.18, -28.70)
CIE-LCHlch(17.74, 29.84, 285.91°)
OKLaboklab(29.35% -0.0113 -0.0822)
OKLCHoklch(29.35% 0.083 262.2)
XYZxyz(2.7556, 2.4602, 8.9222)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A55 #553F14
analogous
#144A55 #142A55 #1E1455
triadic
#142A55 #55142A #2A5514
tetradic
#142A55 #55144A #553F14 #14551E
square
#142A55 #55144A #553F14 #14551E
split-complementary
#142A55 #551E14 #4A5514
monochromatic
#060C19 #081223 #142A55 #204287 #2B5BB8

Accessibility & contrast

On white

14.07
#142A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142A55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A55
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A55#FFFFFF#000000##FFFFFF
##142A551.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#062954
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142a55;
/* rgb */ color: rgb(20, 42, 85);
/* oklch */ color: oklch(29.4% 0.083 262.2);
Tailwind
colors: {
  custom: {
    50: '#5b6385',
    500: '#142a55',
    950: '#000000',
  },
}
SCSS
$custom: #142a55;
$custom-light: #5b6385;
$custom-dark: #000000;
JSON
{
  "hex": "#142a55",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 219.692,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29355,
    "c": 0.083,
    "h": 262.2
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#142A55
secondary
#8D7038
accent
#AE43E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A55

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

Preview Lab → · Contrast checker → · Palette generator →

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