#142164#142164

#142164 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.119 H 268.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#142164
RGBrgb(20, 33, 100)
HSLhsl(230, 67%, 24%)
HSVhsv(230, 80%, 39%)
CMYKcmyk(80%, 67%, 0%, 60.8%)
CIE-LABlab(16.29, 21.13, -41.03)
CIE-LCHlch(16.29, 46.15, 297.25°)
OKLaboklab(28.66% -0.0023 -0.1186)
OKLCHoklch(28.66% 0.119 268.9)
XYZxyz(3.1318, 2.1562, 12.3053)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142164 #645714
analogous
#144964 #142164 #2F1464
triadic
#142164 #641421 #216414
tetradic
#142164 #641449 #645714 #14642F
square
#142164 #641449 #645714 #14642F
split-complementary
#142164 #642F14 #496414
monochromatic
#05081A #0A1031 #142164 #1E3297 #2843CA

Accessibility & contrast

On white

14.67
#142164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142164
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142164#FFFFFF#000000##FFFFFF
##1421641.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142164;
/* rgb */ color: rgb(20, 33, 100);
/* oklch */ color: oklch(28.7% 0.119 268.9);
Tailwind
colors: {
  custom: {
    50: '#605c91',
    500: '#142164',
    950: '#000000',
  },
}
SCSS
$custom: #142164;
$custom-light: #605c91;
$custom-dark: #000000;
JSON
{
  "hex": "#142164",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 230.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2866,
    "c": 0.11864,
    "h": 268.9
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#142164
secondary
#9B8B38
accent
#CE3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142164

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

Preview Lab → · Contrast checker → · Palette generator →

#142164 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva