#142B4C#142B4C

#142B4C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.067 H 257.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#142B4C
RGBrgb(20, 43, 76)
HSLhsl(215, 58%, 19%)
HSVhsv(215, 74%, 30%)
CMYKcmyk(73.7%, 43.4%, 0%, 70.2%)
CIE-LABlab(17.45, 3.64, -23.09)
CIE-LCHlch(17.45, 23.37, 278.97°)
OKLaboklab(28.93% -0.0144 -0.0657)
OKLCHoklch(28.93% 0.067 257.6)
XYZxyz(2.4564, 2.3980, 7.1695)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B4C #4C3514
analogous
#14474C #142B4C #19144C
triadic
#142B4C #4C142B #2B4C14
tetradic
#142B4C #4C1447 #4C3514 #144C19
square
#142B4C #4C1447 #4C3514 #144C19
split-complementary
#142B4C #4C1914 #474C14
monochromatic
#060E18 #07101C #142B4C #21467C #2E62AD

Accessibility & contrast

On white

14.19
#142B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B4C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B4C#FFFFFF#000000##FFFFFF
##142B4C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4D
Deuteranopia (green-blind)
#14284B
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142b4c;
/* rgb */ color: rgb(20, 43, 76);
/* oklch */ color: oklch(28.9% 0.067 257.6);
Tailwind
colors: {
  custom: {
    50: '#59637e',
    500: '#142b4c',
    950: '#000000',
  },
}
SCSS
$custom: #142b4c;
$custom-light: #59637e;
$custom-dark: #000000;
JSON
{
  "hex": "#142b4c",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 76
  },
  "hsl": {
    "h": 215.357,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28934,
    "c": 0.0673,
    "h": 257.6
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#142B4C
secondary
#846538
accent
#A246E2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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