#142F71#142F71

#142F71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.119 H 264.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#142F71
RGBrgb(20, 47, 113)
HSLhsl(223, 70%, 26%)
HSVhsv(223, 82%, 44%)
CMYKcmyk(82.3%, 58.4%, 0%, 55.7%)
CIE-LABlab(21.48, 16.39, -41.02)
CIE-LCHlch(21.48, 44.17, 291.78°)
OKLaboklab(32.9% -0.0123 -0.1184)
OKLCHoklch(32.9% 0.119 264.1)
XYZxyz(4.2846, 3.3735, 16.0449)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F71 #715614
analogous
#145D71 #142F71 #271471
triadic
#142F71 #71142F #2F7114
tetradic
#142F71 #71145D #715614 #147127
square
#142F71 #71145D #715614 #147127
split-complementary
#142F71 #712714 #5D7114
monochromatic
#050B1A #0B193D #142F71 #1D45A5 #275AD9

Accessibility & contrast

On white

12.54
#142F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#142F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F71
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F71#FFFFFF#000000##FFFFFF
##142F711.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142f71;
/* rgb */ color: rgb(20, 47, 113);
/* oklch */ color: oklch(32.9% 0.119 264.1);
Tailwind
colors: {
  custom: {
    50: '#62679a',
    500: '#142f71',
    950: '#000000',
  },
}
SCSS
$custom: #142f71;
$custom-light: #62679a;
$custom-dark: #000000;
JSON
{
  "hex": "#142f71",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 222.581,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32901,
    "c": 0.11899,
    "h": 264.1
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#142F71
secondary
#A78739
accent
#B93BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #142F71

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

Preview Lab → · Contrast checker → · Palette generator →

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