#142F77#142F77

#142F77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.128 H 264.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#142F77
RGBrgb(20, 47, 119)
HSLhsl(224, 71%, 27%)
HSVhsv(224, 83%, 47%)
CMYKcmyk(83.2%, 60.5%, 0%, 53.3%)
CIE-LABlab(21.99, 18.90, -44.02)
CIE-LCHlch(21.99, 47.91, 293.23°)
OKLaboklab(33.44% -0.0119 -0.1272)
OKLCHoklch(33.44% 0.128 264.7)
XYZxyz(4.6336, 3.5131, 17.8831)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F77 #775C14
analogous
#146177 #142F77 #2A1477
triadic
#142F77 #77142F #2F7714
tetradic
#142F77 #771461 #775C14 #14772A
square
#142F77 #771461 #775C14 #14772A
split-complementary
#142F77 #772A14 #617714
monochromatic
#040A1A #0B1A43 #142F77 #1D44AB #2A5ADB

Accessibility & contrast

On white

12.33
#142F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#142F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F77
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F77#FFFFFF#000000##FFFFFF
##142F771.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #142f77;
/* rgb */ color: rgb(20, 47, 119);
/* oklch */ color: oklch(33.4% 0.128 264.7);
Tailwind
colors: {
  custom: {
    50: '#64679f',
    500: '#142f77',
    950: '#000000',
  },
}
SCSS
$custom: #142f77;
$custom-light: #64679f;
$custom-dark: #000000;
JSON
{
  "hex": "#142f77",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 223.636,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33444,
    "c": 0.12775,
    "h": 264.7
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#142F77
secondary
#AD8E3A
accent
#BD3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F77

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

Preview Lab → · Contrast checker → · Palette generator →

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