#142D60#142D60

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

Color values

HEX#142D60
RGBrgb(20, 45, 96)
HSLhsl(220, 66%, 23%)
HSVhsv(220, 79%, 38%)
CMYKcmyk(79.2%, 53.1%, 0%, 62.4%)
CIE-LABlab(19.51, 10.65, -33.15)
CIE-LCHlch(19.51, 34.82, 287.81°)
OKLaboklab(30.98% -0.0124 -0.0953)
OKLCHoklch(30.98% 0.096 262.6)
XYZxyz(3.3374, 2.8697, 11.4421)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D60 #604714
analogous
#145360 #142D60 #211460
triadic
#142D60 #60142D #2D6014
tetradic
#142D60 #601453 #604714 #146021
square
#142D60 #601453 #604714 #146021
split-complementary
#142D60 #602114 #536014
monochromatic
#050C19 #09152D #142D60 #1F4593 #295CC5

Accessibility & contrast

On white

13.34
#142D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D60
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D60#FFFFFF#000000##FFFFFF
##142D601.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3362
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d60;
/* rgb */ color: rgb(20, 45, 96);
/* oklch */ color: oklch(31.0% 0.096 262.6);
Tailwind
colors: {
  custom: {
    50: '#5e658d',
    500: '#142d60',
    950: '#000000',
  },
}
SCSS
$custom: #142d60;
$custom-light: #5e658d;
$custom-dark: #000000;
JSON
{
  "hex": "#142d60",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 220.263,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30978,
    "c": 0.09607,
    "h": 262.6
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#142D60
secondary
#987838
accent
#B13FE8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D60

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

Preview Lab → · Contrast checker → · Palette generator →

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