#142571#142571

#142571 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.132 H 267.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#142571
RGBrgb(20, 37, 113)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 82%, 44%)
CMYKcmyk(82.3%, 67.3%, 0%, 55.7%)
CIE-LABlab(18.64, 23.57, -45.65)
CIE-LCHlch(18.64, 51.37, 297.31°)
OKLaboklab(30.79% -0.0054 -0.1321)
OKLCHoklch(30.79% 0.132 267.7)
XYZxyz(3.9297, 2.6637, 15.9266)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142571 #716014
analogous
#145371 #142571 #311471
triadic
#142571 #711425 #257114
tetradic
#142571 #711453 #716014 #147131
square
#142571 #711453 #716014 #147131
split-complementary
#142571 #713114 #537114
monochromatic
#05091A #0B143D #142571 #1D36A5 #2747D9

Accessibility & contrast

On white

13.70
#142571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142571
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142571#FFFFFF#000000##FFFFFF
##1425711.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142571;
/* rgb */ color: rgb(20, 37, 113);
/* oklch */ color: oklch(30.8% 0.132 267.7);
Tailwind
colors: {
  custom: {
    50: '#635f9b',
    500: '#142571',
    950: '#000000',
  },
}
SCSS
$custom: #142571;
$custom-light: #635f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142571",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 229.032,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.13221,
    "h": 267.7
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#142571
secondary
#A79339
accent
#CC3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142571

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

Preview Lab → · Contrast checker → · Palette generator →

#142571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva