#142062#142062

#142062 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.117 H 269.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#142062
RGBrgb(20, 32, 98)
HSLhsl(231, 66%, 23%)
HSVhsv(231, 80%, 38%)
CMYKcmyk(79.6%, 67.3%, 0%, 61.6%)
CIE-LABlab(15.82, 21.03, -40.48)
CIE-LCHlch(15.82, 45.62, 297.45°)
OKLaboklab(28.25% -0.0015 -0.117)
OKLCHoklch(28.25% 0.117 269.3)
XYZxyz(3.0088, 2.0633, 11.7926)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142062 #625614
analogous
#144762 #142062 #2F1462
triadic
#142062 #621420 #206214
tetradic
#142062 #621447 #625614 #14622F
square
#142062 #621447 #625614 #14622F
split-complementary
#142062 #622F14 #476214
monochromatic
#050819 #0A0F2F #142062 #1E3195 #2941C8

Accessibility & contrast

On white

14.86
#142062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142062
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142062#FFFFFF#000000##FFFFFF
##1420621.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002461
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142062;
/* rgb */ color: rgb(20, 32, 98);
/* oklch */ color: oklch(28.3% 0.117 269.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b8f',
    500: '#142062',
    950: '#000000',
  },
}
SCSS
$custom: #142062;
$custom-light: #5f5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#142062",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 230.769,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28254,
    "c": 0.11703,
    "h": 269.3
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#142062
secondary
#998B38
accent
#CF3FE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #142062

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

Preview Lab → · Contrast checker → · Palette generator →

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