#142175#142175

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

Color values

HEX#142175
RGBrgb(20, 33, 117)
HSLhsl(232, 71%, 27%)
HSVhsv(232, 83%, 46%)
CMYKcmyk(82.9%, 71.8%, 0%, 54.1%)
CIE-LABlab(18.01, 27.93, -49.27)
CIE-LCHlch(18.01, 56.63, 299.55°)
OKLaboklab(30.45% -0.0034 -0.1427)
OKLCHoklch(30.45% 0.143 268.6)
XYZxyz(4.0421, 2.5203, 17.0996)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142175 #756814
analogous
#145275 #142175 #381475
triadic
#142175 #751421 #217514
tetradic
#142175 #751452 #756814 #147538
square
#142175 #751452 #756814 #147538
split-complementary
#142175 #753814 #527514
monochromatic
#04071A #0B1241 #142175 #1D30A9 #2941DA

Accessibility & contrast

On white

13.96
#142175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142175
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142175#FFFFFF#000000##FFFFFF
##1421751.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142175;
/* rgb */ color: rgb(20, 33, 117);
/* oklch */ color: oklch(30.4% 0.143 268.6);
Tailwind
colors: {
  custom: {
    50: '#655c9e',
    500: '#142175',
    950: '#000000',
  },
}
SCSS
$custom: #142175;
$custom-light: #655c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142175",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 231.959,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.14273,
    "h": 268.6
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142175

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

Preview Lab → · Contrast checker → · Palette generator →

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