#142E57#142E57

#142E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.081 H 259.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#142E57
RGBrgb(20, 46, 87)
HSLhsl(217, 63%, 21%)
HSVhsv(217, 77%, 34%)
CMYKcmyk(77%, 47.1%, 0%, 65.9%)
CIE-LABlab(19.18, 6.10, -27.72)
CIE-LCHlch(19.18, 28.38, 282.40°)
OKLaboklab(30.51% -0.0151 -0.0793)
OKLCHoklch(30.51% 0.081 259.2)
XYZxyz(2.9852, 2.7905, 9.3963)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E57 #573D14
analogous
#144F57 #142E57 #1B1457
triadic
#142E57 #57142E #2E5714
tetradic
#142E57 #57144F #573D14 #14571B
square
#142E57 #57144F #573D14 #14571B
split-complementary
#142E57 #571B14 #4F5714
monochromatic
#060D19 #091425 #142E57 #1F4889 #2B63BB

Accessibility & contrast

On white

13.48
#142E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E57
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E57#FFFFFF#000000##FFFFFF
##142E571.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142e57;
/* rgb */ color: rgb(20, 46, 87);
/* oklch */ color: oklch(30.5% 0.081 259.2);
Tailwind
colors: {
  custom: {
    50: '#5b6687',
    500: '#142e57',
    950: '#000000',
  },
}
SCSS
$custom: #142e57;
$custom-light: #5b6687;
$custom-dark: #000000;
JSON
{
  "hex": "#142e57",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 216.716,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.0807,
    "h": 259.2
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#142E57
secondary
#8F6D38
accent
#A642E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E57

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

Preview Lab → · Contrast checker → · Palette generator →

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