#142B76#142B76

#142B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.132 H 266.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#142B76
RGBrgb(20, 43, 118)
HSLhsl(226, 71%, 27%)
HSVhsv(226, 83%, 46%)
CMYKcmyk(83.1%, 63.6%, 0%, 53.7%)
CIE-LABlab(20.77, 21.34, -45.39)
CIE-LCHlch(20.77, 50.15, 295.19°)
OKLaboklab(32.5% -0.0092 -0.1313)
OKLCHoklch(32.5% 0.132 266)
XYZxyz(4.4212, 3.1840, 17.5176)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B76 #765F14
analogous
#145C76 #142B76 #2E1476
triadic
#142B76 #76142B #2B7614
tetradic
#142B76 #76145C #765F14 #14762E
square
#142B76 #76145C #765F14 #14762E
split-complementary
#142B76 #762E14 #5C7614
monochromatic
#040A1A #0B1842 #142B76 #1D3EAA #2A53DB

Accessibility & contrast

On white

12.83
#142B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B76
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B76#FFFFFF#000000##FFFFFF
##142B761.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142b76;
/* rgb */ color: rgb(20, 43, 118);
/* oklch */ color: oklch(32.5% 0.132 266.0);
Tailwind
colors: {
  custom: {
    50: '#64649e',
    500: '#142b76',
    950: '#000000',
  },
}
SCSS
$custom: #142b76;
$custom-light: #64649e;
$custom-dark: #000000;
JSON
{
  "hex": "#142b76",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 225.918,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.13158,
    "h": 266
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#142B76
secondary
#AC913A
accent
#C43AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142B76

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

Preview Lab → · Contrast checker → · Palette generator →

#142B76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva