#143871#143871

#143871 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.107 H 259.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#143871
RGBrgb(20, 56, 113)
HSLhsl(217, 70%, 26%)
HSVhsv(217, 82%, 44%)
CMYKcmyk(82.3%, 50.4%, 0%, 55.7%)
CIE-LABlab(24.22, 9.92, -36.58)
CIE-LCHlch(24.22, 37.90, 285.17°)
OKLaboklab(34.99% -0.0196 -0.1051)
OKLCHoklch(34.99% 0.107 259.4)
XYZxyz(4.6822, 4.1688, 16.1775)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143871 #714D14
analogous
#146671 #143871 #1E1471
triadic
#143871 #711438 #387114
tetradic
#143871 #711466 #714D14 #14711E
square
#143871 #711466 #714D14 #14711E
split-complementary
#143871 #711E14 #667114
monochromatic
#050D1A #0B1E3D #143871 #1D52A5 #276CD9

Accessibility & contrast

On white

11.45
#143871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#143871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #143871
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143871#FFFFFF#000000##FFFFFF
##1438711.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #143871;
/* rgb */ color: rgb(20, 56, 113);
/* oklch */ color: oklch(35.0% 0.107 259.4);
Tailwind
colors: {
  custom: {
    50: '#626e9a',
    500: '#143871',
    950: '#000000',
  },
}
SCSS
$custom: #143871;
$custom-light: #626e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#143871",
  "rgb": {
    "r": 20,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 216.774,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34988,
    "c": 0.10694,
    "h": 259.4
  },
  "luminance": 0.04169
}

Semantic roles & 50–950 ramp

primary
#143871
secondary
#A77D39
accent
#A83BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #143871

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

Preview Lab → · Contrast checker → · Palette generator →

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