#142A4B#142A4B

#142A4B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.067 H 258.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#142A4B
RGBrgb(20, 42, 75)
HSLhsl(216, 58%, 19%)
HSVhsv(216, 73%, 29%)
CMYKcmyk(73.3%, 44%, 0%, 70.6%)
CIE-LABlab(17.05, 3.95, -23.05)
CIE-LCHlch(17.05, 23.39, 279.73°)
OKLaboklab(28.6% -0.0135 -0.0656)
OKLCHoklch(28.6% 0.067 258.4)
XYZxyz(2.3860, 2.3124, 6.9758)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A4B #4B3514
analogous
#14454B #142A4B #19144B
triadic
#142A4B #4B142A #2A4B14
tetradic
#142A4B #4B1445 #4B3514 #144B19
square
#142A4B #4B1445 #4B3514 #144B19
split-complementary
#142A4B #4B1914 #454B14
monochromatic
#060E18 #070F1B #142A4B #21457B #2E60AC

Accessibility & contrast

On white

14.36
#142A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A4B
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A4B#FFFFFF#000000##FFFFFF
##142A4B1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142a4b;
/* rgb */ color: rgb(20, 42, 75);
/* oklch */ color: oklch(28.6% 0.067 258.4);
Tailwind
colors: {
  custom: {
    50: '#59637d',
    500: '#142a4b',
    950: '#000000',
  },
}
SCSS
$custom: #142a4b;
$custom-light: #59637d;
$custom-dark: #000000;
JSON
{
  "hex": "#142a4b",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 216,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.286,
    "c": 0.06701,
    "h": 258.4
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#142A4B
secondary
#836538
accent
#A347E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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