#142E53#142E53

#142E53 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.074 H 257.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#142E53
RGBrgb(20, 46, 83)
HSLhsl(215, 61%, 20%)
HSVhsv(215, 76%, 33%)
CMYKcmyk(75.9%, 44.6%, 0%, 67.5%)
CIE-LABlab(18.92, 4.41, -25.48)
CIE-LCHlch(18.92, 25.85, 279.81°)
OKLaboklab(30.22% -0.016 -0.0727)
OKLCHoklch(30.22% 0.074 257.5)
XYZxyz(2.8263, 2.7270, 8.5593)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E53 #533914
analogous
#144D53 #142E53 #191453
triadic
#142E53 #53142E #2E5314
tetradic
#142E53 #53144D #533914 #145319
square
#142E53 #53144D #533914 #145319
split-complementary
#142E53 #531914 #4D5314
monochromatic
#060E19 #081322 #142E53 #204984 #2C65B6

Accessibility & contrast

On white

13.59
#142E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E53
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E53#FFFFFF#000000##FFFFFF
##142E531.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3154
Deuteranopia (green-blind)
#132B52
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e53;
/* rgb */ color: rgb(20, 46, 83);
/* oklch */ color: oklch(30.2% 0.074 257.5);
Tailwind
colors: {
  custom: {
    50: '#5a6683',
    500: '#142e53',
    950: '#000000',
  },
}
SCSS
$custom: #142e53;
$custom-light: #5a6683;
$custom-dark: #000000;
JSON
{
  "hex": "#142e53",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 215.238,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3022,
    "c": 0.07443,
    "h": 257.5
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#142E53
secondary
#8B6938
accent
#A244E4
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #142E53

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

Preview Lab → · Contrast checker → · Palette generator →

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