#142C74#142C74

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

Color values

HEX#142C74
RGBrgb(20, 44, 116)
HSLhsl(225, 71%, 27%)
HSVhsv(225, 83%, 45%)
CMYKcmyk(82.8%, 62.1%, 0%, 54.5%)
CIE-LABlab(20.87, 19.80, -43.94)
CIE-LCHlch(20.87, 48.20, 294.26°)
OKLaboklab(32.52% -0.0099 -0.127)
OKLCHoklch(32.52% 0.127 265.5)
XYZxyz(4.3404, 3.2105, 16.9105)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C74 #745C14
analogous
#145C74 #142C74 #2C1474
triadic
#142C74 #74142C #2C7414
tetradic
#142C74 #74145C #745C14 #14742C
square
#142C74 #74145C #745C14 #14742C
split-complementary
#142C74 #742C14 #5C7414
monochromatic
#050A1A #0B1840 #142C74 #1D40A8 #2855DA

Accessibility & contrast

On white

12.79
#142C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C74
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C74#FFFFFF#000000##FFFFFF
##142C741.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142c74;
/* rgb */ color: rgb(20, 44, 116);
/* oklch */ color: oklch(32.5% 0.127 265.5);
Tailwind
colors: {
  custom: {
    50: '#63649d',
    500: '#142c74',
    950: '#000000',
  },
}
SCSS
$custom: #142c74;
$custom-light: #63649d;
$custom-dark: #000000;
JSON
{
  "hex": "#142c74",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 225,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32521,
    "c": 0.12739,
    "h": 265.5
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#142C74
secondary
#AA8E3A
accent
#C13AED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142C74

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

Preview Lab → · Contrast checker → · Palette generator →

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