#142B51#142B51

#142B51 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.075 H 259.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#142B51
RGBrgb(20, 43, 81)
HSLhsl(217, 60%, 20%)
HSVhsv(217, 75%, 32%)
CMYKcmyk(75.3%, 46.9%, 0%, 68.2%)
CIE-LABlab(17.78, 5.75, -25.94)
CIE-LCHlch(17.78, 26.57, 282.49°)
OKLaboklab(29.3% -0.0132 -0.0741)
OKLCHoklch(29.3% 0.075 259.9)
XYZxyz(2.6370, 2.4703, 8.1208)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B51 #513A14
analogous
#144A51 #142B51 #1C1451
triadic
#142B51 #51142B #2B5114
tetradic
#142B51 #51144A #513A14 #14511C
square
#142B51 #51144A #513A14 #14511C
split-complementary
#142B51 #511C14 #4A5114
monochromatic
#060D19 #081120 #142B51 #204582 #2C5FB3

Accessibility & contrast

On white

14.05
#142B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B51
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B51#FFFFFF#000000##FFFFFF
##142B511.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F52
Deuteranopia (green-blind)
#0F2950
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142b51;
/* rgb */ color: rgb(20, 43, 81);
/* oklch */ color: oklch(29.3% 0.075 259.9);
Tailwind
colors: {
  custom: {
    50: '#5a6382',
    500: '#142b51',
    950: '#000000',
  },
}
SCSS
$custom: #142b51;
$custom-light: #5a6382;
$custom-dark: #000000;
JSON
{
  "hex": "#142b51",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 81
  },
  "hsl": {
    "h": 217.377,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.293,
    "c": 0.07527,
    "h": 259.9
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#142B51
secondary
#896A38
accent
#A744E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #142B51

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

Preview Lab → · Contrast checker → · Palette generator →

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