#142876#142876

#142876 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.135 H 266.9°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#142876
RGBrgb(20, 40, 118)
HSLhsl(228, 71%, 27%)
HSVhsv(228, 83%, 46%)
CMYKcmyk(83.1%, 66.1%, 0%, 53.7%)
CIE-LABlab(19.94, 23.48, -46.74)
CIE-LCHlch(19.94, 52.31, 296.67°)
OKLaboklab(31.89% -0.0073 -0.1353)
OKLCHoklch(31.89% 0.135 266.9)
XYZxyz(4.3162, 2.9738, 17.4826)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142876 #766214
analogous
#145976 #142876 #311476
triadic
#142876 #761428 #287614
tetradic
#142876 #761459 #766214 #147631
square
#142876 #761459 #766214 #147631
split-complementary
#142876 #763114 #597614
monochromatic
#04091A #0B1642 #142876 #1D3AAA #2A4EDB

Accessibility & contrast

On white

13.17
#142876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142876
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142876#FFFFFF#000000##FFFFFF
##1428761.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142876;
/* rgb */ color: rgb(20, 40, 118);
/* oklch */ color: oklch(31.9% 0.135 266.9);
Tailwind
colors: {
  custom: {
    50: '#64619e',
    500: '#142876',
    950: '#000000',
  },
}
SCSS
$custom: #142876;
$custom-light: #64619e;
$custom-dark: #000000;
JSON
{
  "hex": "#142876",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 227.755,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.13547,
    "h": 266.9
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#142876
secondary
#AC953A
accent
#C93AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142876

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

Preview Lab → · Contrast checker → · Palette generator →

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