#142B74#142B74

#142B74 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.129 H 265.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#142B74
RGBrgb(20, 43, 116)
HSLhsl(226, 71%, 27%)
HSVhsv(226, 83%, 45%)
CMYKcmyk(82.8%, 62.9%, 0%, 54.5%)
CIE-LABlab(20.58, 20.52, -44.40)
CIE-LCHlch(20.58, 48.92, 294.80°)
OKLaboklab(32.31% -0.0093 -0.1284)
OKLCHoklch(32.31% 0.129 265.9)
XYZxyz(4.3036, 3.1369, 16.8983)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B74 #745D14
analogous
#145B74 #142B74 #2D1474
triadic
#142B74 #74142B #2B7414
tetradic
#142B74 #74145B #745D14 #14742D
square
#142B74 #74145B #745D14 #14742D
split-complementary
#142B74 #742D14 #5B7414
monochromatic
#050A1A #0B1840 #142B74 #1D3EA8 #2853DA

Accessibility & contrast

On white

12.90
#142B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B74
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B74#FFFFFF#000000##FFFFFF
##142B741.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142b74;
/* rgb */ color: rgb(20, 43, 116);
/* oklch */ color: oklch(32.3% 0.129 265.9);
Tailwind
colors: {
  custom: {
    50: '#64639d',
    500: '#142b74',
    950: '#000000',
  },
}
SCSS
$custom: #142b74;
$custom-light: #64639d;
$custom-dark: #000000;
JSON
{
  "hex": "#142b74",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 225.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32309,
    "c": 0.12871,
    "h": 265.9
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#142B74
secondary
#AA8F3A
accent
#C23AED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142B74

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

Preview Lab → · Contrast checker → · Palette generator →

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