#142C63#142C63

#142C63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.102 H 263.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#142C63
RGBrgb(20, 44, 99)
HSLhsl(222, 66%, 23%)
HSVhsv(222, 80%, 39%)
CMYKcmyk(79.8%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.44, 12.66, -35.25)
CIE-LCHlch(19.44, 37.45, 289.76°)
OKLaboklab(30.99% -0.0111 -0.1015)
OKLCHoklch(30.99% 0.102 263.7)
XYZxyz(3.4405, 2.8506, 12.1708)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C63 #634B14
analogous
#145363 #142C63 #231463
triadic
#142C63 #63142C #2C6314
tetradic
#142C63 #631453 #634B14 #146323
square
#142C63 #631453 #634B14 #146323
split-complementary
#142C63 #632314 #536314
monochromatic
#050B19 #0A1530 #142C63 #1E4396 #2959C9

Accessibility & contrast

On white

13.37
#142C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C63
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C63#FFFFFF#000000##FFFFFF
##142C631.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073365
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142c63;
/* rgb */ color: rgb(20, 44, 99);
/* oklch */ color: oklch(31.0% 0.102 263.7);
Tailwind
colors: {
  custom: {
    50: '#5f6490',
    500: '#142c63',
    950: '#000000',
  },
}
SCSS
$custom: #142c63;
$custom-light: #5f6490;
$custom-dark: #000000;
JSON
{
  "hex": "#142c63",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 221.772,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.10207,
    "h": 263.7
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#142C63
secondary
#9A7D38
accent
#B53EE9
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C63

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

Preview Lab → · Contrast checker → · Palette generator →

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