#142176#142176

#142176 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.144 H 268.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#142176
RGBrgb(20, 33, 118)
HSLhsl(232, 71%, 27%)
HSVhsv(232, 83%, 46%)
CMYKcmyk(83.1%, 72%, 0%, 53.7%)
CIE-LABlab(18.12, 28.32, -49.73)
CIE-LCHlch(18.12, 57.23, 299.66°)
OKLaboklab(30.56% -0.0035 -0.1441)
OKLCHoklch(30.56% 0.144 268.6)
XYZxyz(4.1012, 2.5440, 17.4109)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142176 #766914
analogous
#145276 #142176 #381476
triadic
#142176 #761421 #217614
tetradic
#142176 #761452 #766914 #147638
square
#142176 #761452 #766914 #147638
split-complementary
#142176 #763814 #527614
monochromatic
#04071A #0B1242 #142176 #1D30AA #2A41DB

Accessibility & contrast

On white

13.92
#142176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142176
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142176#FFFFFF#000000##FFFFFF
##1421761.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142176;
/* rgb */ color: rgb(20, 33, 118);
/* oklch */ color: oklch(30.6% 0.144 268.6);
Tailwind
colors: {
  custom: {
    50: '#655c9e',
    500: '#142176',
    950: '#000000',
  },
}
SCSS
$custom: #142176;
$custom-light: #655c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142176",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 232.041,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30555,
    "c": 0.1441,
    "h": 268.6
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#142176
secondary
#AC9D3A
accent
#D63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142176

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

Preview Lab → · Contrast checker → · Palette generator →

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