#142D57#142D57

#142D57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.082 H 260.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#142D57
RGBrgb(20, 45, 87)
HSLhsl(218, 63%, 21%)
HSVhsv(218, 77%, 34%)
CMYKcmyk(77%, 48.3%, 0%, 65.9%)
CIE-LABlab(18.86, 6.83, -28.24)
CIE-LCHlch(18.86, 29.06, 283.59°)
OKLaboklab(30.26% -0.014 -0.0808)
OKLCHoklch(30.26% 0.082 260.1)
XYZxyz(2.9466, 2.7133, 9.3834)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D57 #573E14
analogous
#144E57 #142D57 #1C1457
triadic
#142D57 #57142D #2D5714
tetradic
#142D57 #57144E #573E14 #14571C
square
#142D57 #57144E #573E14 #14571C
split-complementary
#142D57 #571C14 #4E5714
monochromatic
#060D19 #091325 #142D57 #1F4789 #2B60BB

Accessibility & contrast

On white

13.61
#142D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D57
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D57#FFFFFF#000000##FFFFFF
##142D571.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#0B2B56
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d57;
/* rgb */ color: rgb(20, 45, 87);
/* oklch */ color: oklch(30.3% 0.082 260.1);
Tailwind
colors: {
  custom: {
    50: '#5b6587',
    500: '#142d57',
    950: '#000000',
  },
}
SCSS
$custom: #142d57;
$custom-light: #5b6587;
$custom-dark: #000000;
JSON
{
  "hex": "#142d57",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 217.612,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30262,
    "c": 0.08204,
    "h": 260.1
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#142D57
secondary
#8F6E38
accent
#A942E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D57

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

Preview Lab → · Contrast checker → · Palette generator →

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