#142372#142372

#142372 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.136 H 268.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#142372
RGBrgb(20, 35, 114)
HSLhsl(230, 70%, 26%)
HSVhsv(230, 82%, 45%)
CMYKcmyk(82.5%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.21, 25.37, -47.00)
CIE-LCHlch(18.21, 53.41, 298.36°)
OKLaboklab(30.5% -0.0043 -0.1361)
OKLCHoklch(30.5% 0.136 268.2)
XYZxyz(3.9257, 2.5652, 16.2046)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142372 #726314
analogous
#145272 #142372 #341472
triadic
#142372 #721423 #237214
tetradic
#142372 #721452 #726314 #147234
square
#142372 #721452 #726314 #147234
split-complementary
#142372 #723414 #527214
monochromatic
#05081A #0B133E #142372 #1D33A6 #2744D9

Accessibility & contrast

On white

13.88
#142372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142372
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142372#FFFFFF#000000##FFFFFF
##1423721.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142372;
/* rgb */ color: rgb(20, 35, 114);
/* oklch */ color: oklch(30.5% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#645e9b',
    500: '#142372',
    950: '#000000',
  },
}
SCSS
$custom: #142372;
$custom-light: #645e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142372",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 230.426,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.13615,
    "h": 268.2
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#142372
secondary
#A89739
accent
#D13BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142372

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

Preview Lab → · Contrast checker → · Palette generator →

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