#142B4F#142B4F

#142B4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.072 H 259.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#142B4F
RGBrgb(20, 43, 79)
HSLhsl(217, 60%, 19%)
HSVhsv(217, 75%, 31%)
CMYKcmyk(74.7%, 45.6%, 0%, 69%)
CIE-LABlab(17.65, 4.90, -24.81)
CIE-LCHlch(17.65, 25.29, 281.18°)
OKLaboklab(29.15% -0.0137 -0.0708)
OKLCHoklch(29.15% 0.072 259.1)
XYZxyz(2.5631, 2.4407, 7.7316)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B4F #4F3814
analogous
#14494F #142B4F #1B144F
triadic
#142B4F #4F142B #2B4F14
tetradic
#142B4F #4F1449 #4F3814 #144F1B
square
#142B4F #4F1449 #4F3814 #144F1B
split-complementary
#142B4F #4F1B14 #494F14
monochromatic
#060D18 #08101E #142B4F #204680 #2D60B1

Accessibility & contrast

On white

14.11
#142B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B4F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B4F#FFFFFF#000000##FFFFFF
##142B4F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142b4f;
/* rgb */ color: rgb(20, 43, 79);
/* oklch */ color: oklch(29.2% 0.072 259.1);
Tailwind
colors: {
  custom: {
    50: '#5a6380',
    500: '#142b4f',
    950: '#000000',
  },
}
SCSS
$custom: #142b4f;
$custom-light: #5a6380;
$custom-dark: #000000;
JSON
{
  "hex": "#142b4f",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 216.61,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29151,
    "c": 0.07208,
    "h": 259.1
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#142B4F
secondary
#876838
accent
#A545E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #142B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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