#142760#142760

#142760 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.104 H 266.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#142760
RGBrgb(20, 39, 96)
HSLhsl(225, 66%, 23%)
HSVhsv(225, 79%, 38%)
CMYKcmyk(79.2%, 59.4%, 0%, 62.4%)
CIE-LABlab(17.66, 15.07, -36.14)
CIE-LCHlch(17.66, 39.16, 292.64°)
OKLaboklab(29.57% -0.0071 -0.1042)
OKLCHoklch(29.57% 0.104 266.1)
XYZxyz(3.1246, 2.4440, 11.3711)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142760 #604D14
analogous
#144D60 #142760 #271460
triadic
#142760 #601427 #276014
tetradic
#142760 #60144D #604D14 #146027
square
#142760 #60144D #604D14 #146027
split-complementary
#142760 #602714 #4D6014
monochromatic
#050A19 #09122D #142760 #1F3C93 #2950C5

Accessibility & contrast

On white

14.11
#142760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142760
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142760#FFFFFF#000000##FFFFFF
##1427601.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142760;
/* rgb */ color: rgb(20, 39, 96);
/* oklch */ color: oklch(29.6% 0.104 266.1);
Tailwind
colors: {
  custom: {
    50: '#5e608e',
    500: '#142760',
    950: '#000000',
  },
}
SCSS
$custom: #142760;
$custom-light: #5e608e;
$custom-dark: #000000;
JSON
{
  "hex": "#142760",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 225,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.10443,
    "h": 266.1
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#142760
secondary
#988038
accent
#BE3FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142760

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

Preview Lab → · Contrast checker → · Palette generator →

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