#142560#142560

#142560 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.107 H 267.1°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#142560
RGBrgb(20, 37, 96)
HSLhsl(227, 66%, 23%)
HSVhsv(227, 79%, 38%)
CMYKcmyk(79.2%, 61.5%, 0%, 62.4%)
CIE-LABlab(17.07, 16.55, -37.12)
CIE-LCHlch(17.07, 40.64, 294.03°)
OKLaboklab(29.13% -0.0054 -0.1071)
OKLCHoklch(29.13% 0.107 267.1)
XYZxyz(3.0606, 2.3161, 11.3498)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142560 #604F14
analogous
#144B60 #142560 #291460
triadic
#142560 #601425 #256014
tetradic
#142560 #60144B #604F14 #146029
square
#142560 #60144B #604F14 #146029
split-complementary
#142560 #602914 #4B6014
monochromatic
#050A19 #09112D #142560 #1F3993 #294CC5

Accessibility & contrast

On white

14.35
#142560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142560
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142560#FFFFFF#000000##FFFFFF
##1425601.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142560;
/* rgb */ color: rgb(20, 37, 96);
/* oklch */ color: oklch(29.1% 0.107 267.1);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#142560',
    950: '#000000',
  },
}
SCSS
$custom: #142560;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142560",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 226.579,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.10721,
    "h": 267.1
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#142560
secondary
#988238
accent
#C33FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142560

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

Preview Lab → · Contrast checker → · Palette generator →

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