#142E75#142E75

#142E75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.126 H 264.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#142E75
RGBrgb(20, 46, 117)
HSLhsl(224, 71%, 27%)
HSVhsv(224, 83%, 46%)
CMYKcmyk(82.9%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.53, 18.78, -43.50)
CIE-LCHlch(21.53, 47.38, 293.35°)
OKLaboklab(33.04% -0.0113 -0.1257)
OKLCHoklch(33.04% 0.126 264.9)
XYZxyz(4.4752, 3.3865, 17.2440)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E75 #755B14
analogous
#145F75 #142E75 #2B1475
triadic
#142E75 #75142E #2E7514
tetradic
#142E75 #75145F #755B14 #14752B
square
#142E75 #75145F #755B14 #14752B
split-complementary
#142E75 #752B14 #5F7514
monochromatic
#040A1A #0B1941 #142E75 #1D43A9 #2959DA

Accessibility & contrast

On white

12.52
#142E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#142E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E75
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E75#FFFFFF#000000##FFFFFF
##142E751.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142e75;
/* rgb */ color: rgb(20, 46, 117);
/* oklch */ color: oklch(33.0% 0.126 264.9);
Tailwind
colors: {
  custom: {
    50: '#64669d',
    500: '#142e75',
    950: '#000000',
  },
}
SCSS
$custom: #142e75;
$custom-light: #64669d;
$custom-dark: #000000;
JSON
{
  "hex": "#142e75",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 223.918,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.12619,
    "h": 264.9
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#142E75
secondary
#AB8D3A
accent
#BD3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142E75

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

Preview Lab → · Contrast checker → · Palette generator →

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