#142376#142376

#142376 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.142 H 268.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#142376
RGBrgb(20, 35, 118)
HSLhsl(231, 71%, 27%)
HSVhsv(231, 83%, 46%)
CMYKcmyk(83.1%, 70.3%, 0%, 53.7%)
CIE-LABlab(18.62, 26.96, -48.91)
CIE-LCHlch(18.62, 55.84, 298.87°)
OKLaboklab(30.92% -0.0045 -0.1416)
OKLCHoklch(30.92% 0.142 268.2)
XYZxyz(4.1584, 2.6583, 17.4300)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142376 #766714
analogous
#145476 #142376 #361476
triadic
#142376 #761423 #237614
tetradic
#142376 #761454 #766714 #147636
square
#142376 #761454 #766714 #147636
split-complementary
#142376 #763614 #547614
monochromatic
#04081A #0B1342 #142376 #1D33AA #2A45DB

Accessibility & contrast

On white

13.71
#142376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142376
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142376#FFFFFF#000000##FFFFFF
##1423761.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142376;
/* rgb */ color: rgb(20, 35, 118);
/* oklch */ color: oklch(30.9% 0.142 268.2);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#142376',
    950: '#000000',
  },
}
SCSS
$custom: #142376;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142376",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 230.816,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30921,
    "c": 0.1417,
    "h": 268.2
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#142376
secondary
#AC9B3A
accent
#D23AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142376

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

Preview Lab → · Contrast checker → · Palette generator →

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