#142B57#142B57

#142B57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.085 H 261.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#142B57
RGBrgb(20, 43, 87)
HSLhsl(219, 63%, 21%)
HSVhsv(219, 77%, 34%)
CMYKcmyk(77%, 50.6%, 0%, 65.9%)
CIE-LABlab(18.21, 8.29, -29.29)
CIE-LCHlch(18.21, 30.44, 285.81°)
OKLaboklab(29.76% -0.012 -0.0839)
OKLCHoklch(29.76% 0.085 261.9)
XYZxyz(2.8721, 2.5643, 9.3586)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B57 #574014
analogous
#144C57 #142B57 #1E1457
triadic
#142B57 #57142B #2B5714
tetradic
#142B57 #57144C #574014 #14571E
square
#142B57 #57144C #574014 #14571E
split-complementary
#142B57 #571E14 #4C5714
monochromatic
#060C19 #091225 #142B57 #1F4489 #2B5CBB

Accessibility & contrast

On white

13.88
#142B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B57
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B57#FFFFFF#000000##FFFFFF
##142B571.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143059
Deuteranopia (green-blind)
#052A56
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142b57;
/* rgb */ color: rgb(20, 43, 87);
/* oklch */ color: oklch(29.8% 0.085 261.9);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#142b57',
    950: '#000000',
  },
}
SCSS
$custom: #142b57;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#142b57",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 87
  },
  "hsl": {
    "h": 219.403,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29762,
    "c": 0.08478,
    "h": 261.9
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#142B57
secondary
#8F7138
accent
#AE42E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142B57

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

Preview Lab → · Contrast checker → · Palette generator →

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