#142860#142860

#142860 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.103 H 265.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#142860
RGBrgb(20, 40, 96)
HSLhsl(224, 66%, 23%)
HSVhsv(224, 79%, 38%)
CMYKcmyk(79.2%, 58.3%, 0%, 62.4%)
CIE-LABlab(17.97, 14.33, -35.65)
CIE-LCHlch(17.97, 38.43, 291.90°)
OKLaboklab(29.8% -0.0079 -0.1027)
OKLCHoklch(29.8% 0.103 265.6)
XYZxyz(3.1579, 2.5105, 11.3822)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142860 #604C14
analogous
#144E60 #142860 #261460
triadic
#142860 #601428 #286014
tetradic
#142860 #60144E #604C14 #146026
square
#142860 #60144E #604C14 #146026
split-complementary
#142860 #602614 #4E6014
monochromatic
#050B19 #09132D #142860 #1F3D93 #2952C5

Accessibility & contrast

On white

13.98
#142860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142860
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142860#FFFFFF#000000##FFFFFF
##1428601.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142860;
/* rgb */ color: rgb(20, 40, 96);
/* oklch */ color: oklch(29.8% 0.103 265.6);
Tailwind
colors: {
  custom: {
    50: '#5e618e',
    500: '#142860',
    950: '#000000',
  },
}
SCSS
$custom: #142860;
$custom-light: #5e618e;
$custom-dark: #000000;
JSON
{
  "hex": "#142860",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 224.211,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29802,
    "c": 0.10303,
    "h": 265.6
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#142860
secondary
#987E38
accent
#BC3FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142860

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

Preview Lab → · Contrast checker → · Palette generator →

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