#142074#142074

#142074 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.143 H 268.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#142074
RGBrgb(20, 32, 116)
HSLhsl(233, 71%, 27%)
HSVhsv(233, 83%, 45%)
CMYKcmyk(82.8%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.66, 28.22, -49.21)
CIE-LCHlch(17.66, 56.72, 299.83°)
OKLaboklab(30.16% -0.0028 -0.1425)
OKLCHoklch(30.16% 0.143 268.9)
XYZxyz(3.9563, 2.4422, 16.7825)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142074 #746814
analogous
#145074 #142074 #381474
triadic
#142074 #741420 #207414
tetradic
#142074 #741450 #746814 #147438
square
#142074 #741450 #746814 #147438
split-complementary
#142074 #743814 #507414
monochromatic
#05071A #0B1240 #142074 #1D2EA8 #283FDA

Accessibility & contrast

On white

14.11
#142074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142074
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142074#FFFFFF#000000##FFFFFF
##1420741.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142074;
/* rgb */ color: rgb(20, 32, 116);
/* oklch */ color: oklch(30.2% 0.143 268.9);
Tailwind
colors: {
  custom: {
    50: '#655b9d',
    500: '#142074',
    950: '#000000',
  },
}
SCSS
$custom: #142074;
$custom-light: #655b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#142074",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 232.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30157,
    "c": 0.14255,
    "h": 268.9
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#142074
secondary
#AA9C3A
accent
#D73AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #142074

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

Preview Lab → · Contrast checker → · Palette generator →

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