#142C57#142C57

#142C57 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.083 H 261.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#142C57
RGBrgb(20, 44, 87)
HSLhsl(219, 63%, 21%)
HSVhsv(219, 77%, 34%)
CMYKcmyk(77%, 49.4%, 0%, 65.9%)
CIE-LABlab(18.53, 7.56, -28.77)
CIE-LCHlch(18.53, 29.74, 284.72°)
OKLaboklab(30.01% -0.013 -0.0824)
OKLCHoklch(30.01% 0.083 261)
XYZxyz(2.9089, 2.6379, 9.3708)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C57 #573F14
analogous
#144D57 #142C57 #1D1457
triadic
#142C57 #57142C #2C5714
tetradic
#142C57 #57144D #573F14 #14571D
square
#142C57 #57144D #573F14 #14571D
split-complementary
#142C57 #571D14 #4D5714
monochromatic
#060D19 #091325 #142C57 #1F4589 #2B5EBB

Accessibility & contrast

On white

13.75
#142C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C57
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C57#FFFFFF#000000##FFFFFF
##142C571.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163059
Deuteranopia (green-blind)
#082A56
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c57;
/* rgb */ color: rgb(20, 44, 87);
/* oklch */ color: oklch(30.0% 0.083 261.0);
Tailwind
colors: {
  custom: {
    50: '#5c6487',
    500: '#142c57',
    950: '#000000',
  },
}
SCSS
$custom: #142c57;
$custom-light: #5c6487;
$custom-dark: #000000;
JSON
{
  "hex": "#142c57",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 218.507,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30011,
    "c": 0.0834,
    "h": 261
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#142C57
secondary
#8F7038
accent
#AB42E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C57

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

Preview Lab → · Contrast checker → · Palette generator →

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