#142E62#142E62

#142E62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.098 H 262.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#142E62
RGBrgb(20, 46, 98)
HSLhsl(220, 66%, 23%)
HSVhsv(220, 80%, 38%)
CMYKcmyk(79.6%, 53.1%, 0%, 61.6%)
CIE-LABlab(19.98, 10.77, -33.71)
CIE-LCHlch(19.98, 35.39, 287.72°)
OKLaboklab(31.38% -0.0131 -0.0969)
OKLCHoklch(31.38% 0.098 262.3)
XYZxyz(3.4693, 2.9842, 11.9461)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E62 #624814
analogous
#145562 #142E62 #211462
triadic
#142E62 #62142E #2E6214
tetradic
#142E62 #621455 #624814 #146221
square
#142E62 #621455 #624814 #146221
split-complementary
#142E62 #622114 #556214
monochromatic
#050C19 #0A162F #142E62 #1E4695 #295EC8

Accessibility & contrast

On white

13.15
#142E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E62
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E62#FFFFFF#000000##FFFFFF
##142E621.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3464
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e62;
/* rgb */ color: rgb(20, 46, 98);
/* oklch */ color: oklch(31.4% 0.098 262.3);
Tailwind
colors: {
  custom: {
    50: '#5e668f',
    500: '#142e62',
    950: '#000000',
  },
}
SCSS
$custom: #142e62;
$custom-light: #5e668f;
$custom-dark: #000000;
JSON
{
  "hex": "#142e62",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 220,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.09777,
    "h": 262.3
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#142E62
secondary
#997938
accent
#B03FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E62

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

Preview Lab → · Contrast checker → · Palette generator →

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