#142C62#142C62

#142C62 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.101 H 263.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#142C62
RGBrgb(20, 44, 98)
HSLhsl(222, 66%, 23%)
HSVhsv(222, 80%, 38%)
CMYKcmyk(79.6%, 55.1%, 0%, 61.6%)
CIE-LABlab(19.36, 12.24, -34.72)
CIE-LCHlch(19.36, 36.81, 289.41°)
OKLaboklab(30.91% -0.0113 -0.0999)
OKLCHoklch(30.91% 0.101 263.6)
XYZxyz(3.3930, 2.8316, 11.9206)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C62 #624A14
analogous
#145362 #142C62 #231462
triadic
#142C62 #62142C #2C6214
tetradic
#142C62 #621453 #624A14 #146223
square
#142C62 #621453 #624A14 #146223
split-complementary
#142C62 #622314 #536214
monochromatic
#050B19 #0A152F #142C62 #1E4395 #295AC8

Accessibility & contrast

On white

13.41
#142C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C62
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C62#FFFFFF#000000##FFFFFF
##142C621.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083364
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142c62;
/* rgb */ color: rgb(20, 44, 98);
/* oklch */ color: oklch(30.9% 0.101 263.6);
Tailwind
colors: {
  custom: {
    50: '#5e648f',
    500: '#142c62',
    950: '#000000',
  },
}
SCSS
$custom: #142c62;
$custom-light: #5e648f;
$custom-dark: #000000;
JSON
{
  "hex": "#142c62",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 221.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.10053,
    "h": 263.6
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#142C62
secondary
#997C38
accent
#B53FE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C62

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

Preview Lab → · Contrast checker → · Palette generator →

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