#142C75#142C75

#142C75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.129 H 265.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#142C75
RGBrgb(20, 44, 117)
HSLhsl(225, 71%, 27%)
HSVhsv(225, 83%, 46%)
CMYKcmyk(82.9%, 62.4%, 0%, 54.1%)
CIE-LABlab(20.96, 20.22, -44.43)
CIE-LCHlch(20.96, 48.82, 294.47°)
OKLaboklab(32.62% -0.0099 -0.1284)
OKLCHoklch(32.62% 0.129 265.6)
XYZxyz(4.3989, 3.2339, 17.2185)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C75 #755D14
analogous
#145D75 #142C75 #2D1475
triadic
#142C75 #75142C #2C7514
tetradic
#142C75 #75145D #755D14 #14752D
square
#142C75 #75145D #755D14 #14752D
split-complementary
#142C75 #752D14 #5D7514
monochromatic
#040A1A #0B1841 #142C75 #1D40A9 #2955DA

Accessibility & contrast

On white

12.75
#142C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C75
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C75#FFFFFF#000000##FFFFFF
##142C751.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142c75;
/* rgb */ color: rgb(20, 44, 117);
/* oklch */ color: oklch(32.6% 0.129 265.6);
Tailwind
colors: {
  custom: {
    50: '#64649d',
    500: '#142c75',
    950: '#000000',
  },
}
SCSS
$custom: #142c75;
$custom-light: #64649d;
$custom-dark: #000000;
JSON
{
  "hex": "#142c75",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 225.155,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32616,
    "c": 0.12883,
    "h": 265.6
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#142C75
secondary
#AB8F3A
accent
#C13AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142C75

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

Preview Lab → · Contrast checker → · Palette generator →

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