#142B75#142B75

#142B75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.130 H 265.9°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#142B75
RGBrgb(20, 43, 117)
HSLhsl(226, 71%, 27%)
HSVhsv(226, 83%, 46%)
CMYKcmyk(82.9%, 63.2%, 0%, 54.1%)
CIE-LABlab(20.67, 20.93, -44.90)
CIE-LCHlch(20.67, 49.54, 295.00°)
OKLaboklab(32.41% -0.0092 -0.1298)
OKLCHoklch(32.41% 0.13 265.9)
XYZxyz(4.3621, 3.1603, 17.2063)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B75 #755E14
analogous
#145C75 #142B75 #2E1475
triadic
#142B75 #75142B #2B7514
tetradic
#142B75 #75145C #755E14 #14752E
square
#142B75 #75145C #755E14 #14752E
split-complementary
#142B75 #752E14 #5C7514
monochromatic
#040A1A #0B1841 #142B75 #1D3EA9 #2953DA

Accessibility & contrast

On white

12.87
#142B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#142B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B75
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B75#FFFFFF#000000##FFFFFF
##142B751.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142b75;
/* rgb */ color: rgb(20, 43, 117);
/* oklch */ color: oklch(32.4% 0.130 265.9);
Tailwind
colors: {
  custom: {
    50: '#64649d',
    500: '#142b75',
    950: '#000000',
  },
}
SCSS
$custom: #142b75;
$custom-light: #64649d;
$custom-dark: #000000;
JSON
{
  "hex": "#142b75",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 225.773,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32405,
    "c": 0.13015,
    "h": 265.9
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#142B75
secondary
#AB903A
accent
#C33AEE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142B75

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

Preview Lab → · Contrast checker → · Palette generator →

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