#143174#143174

#143174 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.121 H 263.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#143174
RGBrgb(20, 49, 116)
HSLhsl(222, 71%, 27%)
HSVhsv(222, 83%, 45%)
CMYKcmyk(82.8%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.32, 16.21, -41.57)
CIE-LCHlch(22.32, 44.62, 291.30°)
OKLaboklab(33.61% -0.0135 -0.12)
OKLCHoklch(33.61% 0.121 263.6)
XYZxyz(4.5381, 3.6058, 16.9764)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143174 #745714
analogous
#146174 #143174 #271474
triadic
#143174 #741431 #317414
tetradic
#143174 #741461 #745714 #147427
square
#143174 #741461 #745714 #147427
split-complementary
#143174 #742714 #617414
monochromatic
#050B1A #0B1B40 #143174 #1D47A8 #285EDA

Accessibility & contrast

On white

12.20
#143174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #143174
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143174#FFFFFF#000000##FFFFFF
##1431741.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #143174;
/* rgb */ color: rgb(20, 49, 116);
/* oklch */ color: oklch(33.6% 0.121 263.6);
Tailwind
colors: {
  custom: {
    50: '#63689d',
    500: '#143174',
    950: '#000000',
  },
}
SCSS
$custom: #143174;
$custom-light: #63689d;
$custom-dark: #000000;
JSON
{
  "hex": "#143174",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 221.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.12072,
    "h": 263.6
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#143174
secondary
#AA883A
accent
#B73AED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #143174

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

Preview Lab → · Contrast checker → · Palette generator →

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