#142060#142060

#142060 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.114 H 269.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#142060
RGBrgb(20, 32, 96)
HSLhsl(231, 66%, 23%)
HSVhsv(231, 79%, 38%)
CMYKcmyk(79.2%, 66.7%, 0%, 62.4%)
CIE-LABlab(15.62, 20.21, -39.47)
CIE-LCHlch(15.62, 44.34, 297.12°)
OKLaboklab(28.05% -0.0014 -0.1141)
OKLCHoklch(28.05% 0.114 269.3)
XYZxyz(2.9156, 2.0260, 11.3015)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142060 #605414
analogous
#144660 #142060 #2E1460
triadic
#142060 #601420 #206014
tetradic
#142060 #601446 #605414 #14602E
square
#142060 #601446 #605414 #14602E
split-complementary
#142060 #602E14 #466014
monochromatic
#050819 #090F2D #142060 #1F3193 #2942C5

Accessibility & contrast

On white

14.94
#142060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142060
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142060#FFFFFF#000000##FFFFFF
##1420601.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142060;
/* rgb */ color: rgb(20, 32, 96);
/* oklch */ color: oklch(28.1% 0.114 269.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b8e',
    500: '#142060',
    950: '#000000',
  },
}
SCSS
$custom: #142060;
$custom-light: #5f5b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142060",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 96
  },
  "hsl": {
    "h": 230.526,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28052,
    "c": 0.11407,
    "h": 269.3
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#142060
secondary
#988938
accent
#CE3FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142060

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

Preview Lab → · Contrast checker → · Palette generator →

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