#143172#143172

#143172 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.118 H 263.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#143172
RGBrgb(20, 49, 114)
HSLhsl(221, 70%, 26%)
HSVhsv(221, 82%, 45%)
CMYKcmyk(82.5%, 57%, 0%, 55.3%)
CIE-LABlab(22.16, 15.37, -40.56)
CIE-LCHlch(22.16, 43.37, 290.75°)
OKLaboklab(33.44% -0.0137 -0.117)
OKLCHoklch(33.44% 0.118 263.3)
XYZxyz(4.4230, 3.5597, 16.3703)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143172 #725514
analogous
#146072 #143172 #261472
triadic
#143172 #721431 #317214
tetradic
#143172 #721460 #725514 #147226
square
#143172 #721460 #725514 #147226
split-complementary
#143172 #722614 #607214
monochromatic
#050B1A #0B1B3E #143172 #1D47A6 #275ED9

Accessibility & contrast

On white

12.27
#143172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #143172
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143172#FFFFFF#000000##FFFFFF
##1431721.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #143172;
/* rgb */ color: rgb(20, 49, 114);
/* oklch */ color: oklch(33.4% 0.118 263.3);
Tailwind
colors: {
  custom: {
    50: '#62689b',
    500: '#143172',
    950: '#000000',
  },
}
SCSS
$custom: #143172;
$custom-light: #62689b;
$custom-dark: #000000;
JSON
{
  "hex": "#143172",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 221.489,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33439,
    "c": 0.11777,
    "h": 263.3
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#143172
secondary
#A88639
accent
#B63BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #143172

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

Preview Lab → · Contrast checker → · Palette generator →

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