#142F57#142F57

#142F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.8% C 0.079 H 258.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#142F57
RGBrgb(20, 47, 87)
HSLhsl(216, 63%, 21%)
HSVhsv(216, 77%, 34%)
CMYKcmyk(77%, 46%, 0%, 65.9%)
CIE-LABlab(19.51, 5.37, -27.19)
CIE-LCHlch(19.51, 27.72, 281.17°)
OKLaboklab(30.77% -0.0162 -0.0777)
OKLCHoklch(30.77% 0.079 258.2)
XYZxyz(3.0247, 2.8695, 9.4094)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F57 #573C14
analogous
#145057 #142F57 #1A1457
triadic
#142F57 #57142F #2F5714
tetradic
#142F57 #571450 #573C14 #14571A
square
#142F57 #571450 #573C14 #14571A
split-complementary
#142F57 #571A14 #505714
monochromatic
#060D19 #091425 #142F57 #1F4A89 #2B65BB

Accessibility & contrast

On white

13.34
#142F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F57
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F57#FFFFFF#000000##FFFFFF
##142F571.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142f57;
/* rgb */ color: rgb(20, 47, 87);
/* oklch */ color: oklch(30.8% 0.079 258.2);
Tailwind
colors: {
  custom: {
    50: '#5b6787',
    500: '#142f57',
    950: '#000000',
  },
}
SCSS
$custom: #142f57;
$custom-light: #5b6787;
$custom-dark: #000000;
JSON
{
  "hex": "#142f57",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 215.821,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3077,
    "c": 0.07936,
    "h": 258.2
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#142F57
secondary
#8F6C38
accent
#A442E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #142F57

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

Preview Lab → · Contrast checker → · Palette generator →

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