#143171#143171

#143171 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.116 H 263.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#143171
RGBrgb(20, 49, 113)
HSLhsl(221, 70%, 26%)
HSVhsv(221, 82%, 44%)
CMYKcmyk(82.3%, 56.6%, 0%, 55.7%)
CIE-LABlab(22.08, 14.94, -40.05)
CIE-LCHlch(22.08, 42.74, 290.46°)
OKLaboklab(33.35% -0.0138 -0.1155)
OKLCHoklch(33.35% 0.116 263.2)
XYZxyz(4.3664, 3.5371, 16.0722)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143171 #715414
analogous
#145F71 #143171 #251471
triadic
#143171 #711431 #317114
tetradic
#143171 #71145F #715414 #147125
square
#143171 #71145F #715414 #147125
split-complementary
#143171 #712514 #5F7114
monochromatic
#050B1A #0B1A3D #143171 #1D48A5 #275ED9

Accessibility & contrast

On white

12.30
#143171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#143171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #143171
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143171#FFFFFF#000000##FFFFFF
##1431711.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #143171;
/* rgb */ color: rgb(20, 49, 113);
/* oklch */ color: oklch(33.4% 0.116 263.2);
Tailwind
colors: {
  custom: {
    50: '#62689a',
    500: '#143171',
    950: '#000000',
  },
}
SCSS
$custom: #143171;
$custom-light: #62689a;
$custom-dark: #000000;
JSON
{
  "hex": "#143171",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 221.29,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33352,
    "c": 0.1163,
    "h": 263.2
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#143171
secondary
#A78539
accent
#B53BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #143171

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

Preview Lab → · Contrast checker → · Palette generator →

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