#142174#142174

#142174 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.141 H 268.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#142174
RGBrgb(20, 33, 116)
HSLhsl(232, 71%, 27%)
HSVhsv(232, 83%, 45%)
CMYKcmyk(82.8%, 71.6%, 0%, 54.5%)
CIE-LABlab(17.90, 27.54, -48.80)
CIE-LCHlch(17.90, 56.03, 299.44°)
OKLaboklab(30.34% -0.0033 -0.1413)
OKLCHoklch(30.34% 0.141 268.7)
XYZxyz(3.9836, 2.4969, 16.7916)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142174 #746714
analogous
#145174 #142174 #371474
triadic
#142174 #741421 #217414
tetradic
#142174 #741451 #746714 #147437
square
#142174 #741451 #746714 #147437
split-complementary
#142174 #743714 #517414
monochromatic
#05071A #0B1240 #142174 #1D30A8 #2840DA

Accessibility & contrast

On white

14.01
#142174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142174
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142174#FFFFFF#000000##FFFFFF
##1421741.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142174;
/* rgb */ color: rgb(20, 33, 116);
/* oklch */ color: oklch(30.3% 0.141 268.7);
Tailwind
colors: {
  custom: {
    50: '#655c9d',
    500: '#142174',
    950: '#000000',
  },
}
SCSS
$custom: #142174;
$custom-light: #655c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#142174",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 231.875,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.14136,
    "h": 268.7
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#142174
secondary
#AA9B3A
accent
#D53AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142174

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

Preview Lab → · Contrast checker → · Palette generator →

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