#142E60#142E60

#142E60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.095 H 261.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#142E60
RGBrgb(20, 46, 96)
HSLhsl(219, 66%, 23%)
HSVhsv(219, 79%, 38%)
CMYKcmyk(79.2%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.83, 9.92, -32.64)
CIE-LCHlch(19.83, 34.11, 286.90°)
OKLaboklab(31.22% -0.0134 -0.0937)
OKLCHoklch(31.22% 0.095 261.9)
XYZxyz(3.3760, 2.9469, 11.4549)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E60 #604614
analogous
#145460 #142E60 #201460
triadic
#142E60 #60142E #2E6014
tetradic
#142E60 #601454 #604614 #146020
square
#142E60 #601454 #604614 #146020
split-complementary
#142E60 #602014 #546014
monochromatic
#050C19 #09162D #142E60 #1F4693 #295FC5

Accessibility & contrast

On white

13.21
#142E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E60
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E60#FFFFFF#000000##FFFFFF
##142E601.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e60;
/* rgb */ color: rgb(20, 46, 96);
/* oklch */ color: oklch(31.2% 0.095 261.9);
Tailwind
colors: {
  custom: {
    50: '#5e668d',
    500: '#142e60',
    950: '#000000',
  },
}
SCSS
$custom: #142e60;
$custom-light: #5e668d;
$custom-dark: #000000;
JSON
{
  "hex": "#142e60",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 219.474,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.09469,
    "h": 261.9
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#142E60
secondary
#987738
accent
#AF3FE8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E60

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

Preview Lab → · Contrast checker → · Palette generator →

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