#143173#143173

#143173 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.119 H 263.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#143173
RGBrgb(20, 49, 115)
HSLhsl(222, 70%, 26%)
HSVhsv(222, 83%, 45%)
CMYKcmyk(82.6%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.24, 15.79, -41.06)
CIE-LCHlch(22.24, 43.99, 291.03°)
OKLaboklab(33.53% -0.0136 -0.1185)
OKLCHoklch(33.53% 0.119 263.4)
XYZxyz(4.4802, 3.5826, 16.6717)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143173 #735614
analogous
#146173 #143173 #271473
triadic
#143173 #731431 #317314
tetradic
#143173 #731461 #735614 #147327
square
#143173 #731461 #735614 #147327
split-complementary
#143173 #732714 #617314
monochromatic
#050B1A #0B1B3F #143173 #1D47A7 #285EDA

Accessibility & contrast

On white

12.23
#143173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#143173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #143173
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143173#FFFFFF#000000##FFFFFF
##1431731.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #143173;
/* rgb */ color: rgb(20, 49, 115);
/* oklch */ color: oklch(33.5% 0.119 263.4);
Tailwind
colors: {
  custom: {
    50: '#63689c',
    500: '#143173',
    950: '#000000',
  },
}
SCSS
$custom: #143173;
$custom-light: #63689c;
$custom-dark: #000000;
JSON
{
  "hex": "#143173",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 221.684,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33526,
    "c": 0.11925,
    "h": 263.4
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#143173
secondary
#A9873A
accent
#B73BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #143173

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

Preview Lab → · Contrast checker → · Palette generator →

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