#142660#142660

#142660 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.106 H 266.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#142660
RGBrgb(20, 38, 96)
HSLhsl(226, 66%, 23%)
HSVhsv(226, 79%, 38%)
CMYKcmyk(79.2%, 60.4%, 0%, 62.4%)
CIE-LABlab(17.36, 15.81, -36.63)
CIE-LCHlch(17.36, 39.90, 293.35°)
OKLaboklab(29.35% -0.0062 -0.1056)
OKLCHoklch(29.35% 0.106 266.6)
XYZxyz(3.0922, 2.3791, 11.3603)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142660 #604E14
analogous
#144C60 #142660 #281460
triadic
#142660 #601426 #266014
tetradic
#142660 #60144C #604E14 #146028
square
#142660 #60144C #604E14 #146028
split-complementary
#142660 #602814 #4C6014
monochromatic
#050A19 #09122D #142660 #1F3A93 #294EC5

Accessibility & contrast

On white

14.23
#142660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142660
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142660#FFFFFF#000000##FFFFFF
##1426601.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142660;
/* rgb */ color: rgb(20, 38, 96);
/* oklch */ color: oklch(29.3% 0.106 266.6);
Tailwind
colors: {
  custom: {
    50: '#5e5f8e',
    500: '#142660',
    950: '#000000',
  },
}
SCSS
$custom: #142660;
$custom-light: #5e5f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142660",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 96
  },
  "hsl": {
    "h": 225.789,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.10582,
    "h": 266.6
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#142660
secondary
#988138
accent
#C03FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142660

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

Preview Lab → · Contrast checker → · Palette generator →

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