#142C60#142C60

#142C60 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.097 H 263.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#142C60
RGBrgb(20, 44, 96)
HSLhsl(221, 66%, 23%)
HSVhsv(221, 79%, 38%)
CMYKcmyk(79.2%, 54.2%, 0%, 62.4%)
CIE-LABlab(19.20, 11.38, -33.65)
CIE-LCHlch(19.20, 35.53, 288.69°)
OKLaboklab(30.74% -0.0115 -0.0968)
OKLCHoklch(30.74% 0.097 263.2)
XYZxyz(3.2997, 2.7943, 11.4295)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C60 #604814
analogous
#145260 #142C60 #221460
triadic
#142C60 #60142C #2C6014
tetradic
#142C60 #601452 #604814 #146022
square
#142C60 #601452 #604814 #146022
split-complementary
#142C60 #602214 #526014
monochromatic
#050C19 #09152D #142C60 #1F4393 #295AC5

Accessibility & contrast

On white

13.47
#142C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C60
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C60#FFFFFF#000000##FFFFFF
##142C601.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142c60;
/* rgb */ color: rgb(20, 44, 96);
/* oklch */ color: oklch(30.7% 0.097 263.2);
Tailwind
colors: {
  custom: {
    50: '#5e648e',
    500: '#142c60',
    950: '#000000',
  },
}
SCSS
$custom: #142c60;
$custom-light: #5e648e;
$custom-dark: #000000;
JSON
{
  "hex": "#142c60",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 221.053,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30738,
    "c": 0.09745,
    "h": 263.2
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#142C60
secondary
#987938
accent
#B33FE8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C60

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

Preview Lab → · Contrast checker → · Palette generator →

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