#142880#142880

#142880 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.149 H 267.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#142880
RGBrgb(20, 40, 128)
HSLhsl(229, 73%, 29%)
HSVhsv(229, 84%, 50%)
CMYKcmyk(84.4%, 68.8%, 0%, 49.8%)
CIE-LABlab(20.92, 27.48, -51.49)
CIE-LCHlch(20.92, 58.37, 298.09°)
OKLaboklab(32.91% -0.0077 -0.1492)
OKLCHoklch(32.91% 0.149 267)
XYZxyz(4.9422, 3.2242, 20.7798)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142880 #806C14
analogous
#145E80 #142880 #361480
triadic
#142880 #801428 #288014
tetradic
#142880 #80145E #806C14 #148036
square
#142880 #80145E #806C14 #148036
split-complementary
#142880 #803614 #5E8014
monochromatic
#04081A #0C174B #142880 #1C39B5 #3050DF

Accessibility & contrast

On white

12.77
#142880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142880
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142880#FFFFFF#000000##FFFFFF
##1428801.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142880;
/* rgb */ color: rgb(20, 40, 128);
/* oklch */ color: oklch(32.9% 0.149 267.0);
Tailwind
colors: {
  custom: {
    50: '#6762a6',
    500: '#142880',
    950: '#000000',
  },
}
SCSS
$custom: #142880;
$custom-light: #6762a6;
$custom-dark: #000000;
JSON
{
  "hex": "#142880",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 228.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32909,
    "c": 0.14936,
    "h": 267
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#142880
secondary
#B59E3B
accent
#CE38F0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142880

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

Preview Lab → · Contrast checker → · Palette generator →

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