#142A50#142A50

#142A50 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.075 H 260.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#142A50
RGBrgb(20, 42, 80)
HSLhsl(218, 60%, 20%)
HSVhsv(218, 75%, 31%)
CMYKcmyk(75%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.38, 6.06, -25.90)
CIE-LCHlch(17.38, 26.60, 283.16°)
OKLaboklab(28.97% -0.0123 -0.074)
OKLCHoklch(28.97% 0.075 260.5)
XYZxyz(2.5639, 2.3836, 7.9128)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A50 #503A14
analogous
#144850 #142A50 #1C1450
triadic
#142A50 #50142A #2A5014
tetradic
#142A50 #501448 #503A14 #14501C
square
#142A50 #501448 #503A14 #14501C
split-complementary
#142A50 #501C14 #485014
monochromatic
#060D18 #08101F #142A50 #204481 #2C5DB2

Accessibility & contrast

On white

14.22
#142A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A50
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A50#FFFFFF#000000##FFFFFF
##142A501.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#0E284F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142a50;
/* rgb */ color: rgb(20, 42, 80);
/* oklch */ color: oklch(29.0% 0.075 260.5);
Tailwind
colors: {
  custom: {
    50: '#5a6381',
    500: '#142a50',
    950: '#000000',
  },
}
SCSS
$custom: #142a50;
$custom-light: #5a6381;
$custom-dark: #000000;
JSON
{
  "hex": "#142a50",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 218,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28968,
    "c": 0.07503,
    "h": 260.5
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#142A50
secondary
#886B38
accent
#A945E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142A50

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

Preview Lab → · Contrast checker → · Palette generator →

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