#143271#143271

#143271 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.115 H 262.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#143271
RGBrgb(20, 50, 113)
HSLhsl(221, 70%, 26%)
HSVhsv(221, 82%, 44%)
CMYKcmyk(82.3%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.38, 14.22, -39.56)
CIE-LCHlch(22.38, 42.04, 289.78°)
OKLaboklab(33.58% -0.0146 -0.114)
OKLCHoklch(33.58% 0.115 262.7)
XYZxyz(4.4087, 3.6217, 16.0863)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143271 #715314
analogous
#146071 #143271 #241471
triadic
#143271 #711432 #327114
tetradic
#143271 #711460 #715314 #147124
square
#143271 #711460 #715314 #147124
split-complementary
#143271 #712414 #607114
monochromatic
#050C1A #0B1B3D #143271 #1D49A5 #2760D9

Accessibility & contrast

On white

12.18
#143271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #143271
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143271#FFFFFF#000000##FFFFFF
##1432711.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #143271;
/* rgb */ color: rgb(20, 50, 113);
/* oklch */ color: oklch(33.6% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#62699a',
    500: '#143271',
    950: '#000000',
  },
}
SCSS
$custom: #143271;
$custom-light: #62699a;
$custom-dark: #000000;
JSON
{
  "hex": "#143271",
  "rgb": {
    "r": 20,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 220.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3358,
    "c": 0.11495,
    "h": 262.7
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#143271
secondary
#A78439
accent
#B33BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #143271

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

Preview Lab → · Contrast checker → · Palette generator →

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