#142075#142075

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

Color values

HEX#142075
RGBrgb(20, 32, 117)
HSLhsl(233, 71%, 27%)
HSVhsv(233, 83%, 46%)
CMYKcmyk(82.9%, 72.6%, 0%, 54.1%)
CIE-LABlab(17.76, 28.60, -49.67)
CIE-LCHlch(17.76, 57.32, 299.94°)
OKLaboklab(30.27% -0.0029 -0.1439)
OKLCHoklch(30.27% 0.144 268.8)
XYZxyz(4.0148, 2.4656, 17.0905)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142075 #756914
analogous
#145175 #142075 #391475
triadic
#142075 #751420 #207514
tetradic
#142075 #751451 #756914 #147539
square
#142075 #751451 #756914 #147539
split-complementary
#142075 #753914 #517514
monochromatic
#04071A #0B1241 #142075 #1D2EA9 #293FDA

Accessibility & contrast

On white

14.06
#142075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#142075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142075
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142075#FFFFFF#000000##FFFFFF
##1420751.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142075;
/* rgb */ color: rgb(20, 32, 117);
/* oklch */ color: oklch(30.3% 0.144 268.8);
Tailwind
colors: {
  custom: {
    50: '#655b9e',
    500: '#142075',
    950: '#000000',
  },
}
SCSS
$custom: #142075;
$custom-light: #655b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#142075",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 232.577,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.14391,
    "h": 268.8
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#142075
secondary
#AB9D3A
accent
#D73AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142075

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

Preview Lab → · Contrast checker → · Palette generator →

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