#142362#142362

#142362 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.9% C 0.113 H 268.1°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#142362
RGBrgb(20, 35, 98)
HSLhsl(228, 66%, 23%)
HSVhsv(228, 80%, 38%)
CMYKcmyk(79.6%, 64.3%, 0%, 61.6%)
CIE-LABlab(16.66, 18.85, -39.10)
CIE-LCHlch(16.66, 43.40, 295.75°)
OKLaboklab(28.88% -0.0037 -0.1129)
OKLCHoklch(28.88% 0.113 268.1)
XYZxyz(3.0934, 2.2323, 11.8208)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142362 #625314
analogous
#144A62 #142362 #2C1462
triadic
#142362 #621423 #236214
tetradic
#142362 #62144A #625314 #14622C
square
#142362 #62144A #625314 #14622C
split-complementary
#142362 #622C14 #4A6214
monochromatic
#050919 #0A112F #142362 #1E3595 #2947C8

Accessibility & contrast

On white

14.52
#142362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142362
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142362#FFFFFF#000000##FFFFFF
##1423621.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#002661
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142362;
/* rgb */ color: rgb(20, 35, 98);
/* oklch */ color: oklch(28.9% 0.113 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d8f',
    500: '#142362',
    950: '#000000',
  },
}
SCSS
$custom: #142362;
$custom-light: #5f5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#142362",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 228.462,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2888,
    "c": 0.11298,
    "h": 268.1
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#142362
secondary
#998738
accent
#C83FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142362

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

Preview Lab → · Contrast checker → · Palette generator →

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