#142472#142472

#142472 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.135 H 267.9°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#142472
RGBrgb(20, 36, 114)
HSLhsl(230, 70%, 26%)
HSVhsv(230, 82%, 45%)
CMYKcmyk(82.5%, 68.4%, 0%, 55.3%)
CIE-LABlab(18.47, 24.68, -46.57)
CIE-LCHlch(18.47, 52.70, 297.92°)
OKLaboklab(30.69% -0.0048 -0.1348)
OKLCHoklch(30.69% 0.135 267.9)
XYZxyz(3.9556, 2.6249, 16.2145)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142472 #726214
analogous
#145372 #142472 #331472
triadic
#142472 #721424 #247214
tetradic
#142472 #721453 #726214 #147233
square
#142472 #721453 #726214 #147233
split-complementary
#142472 #723314 #537214
monochromatic
#05081A #0B143E #142472 #1D34A6 #2746D9

Accessibility & contrast

On white

13.77
#142472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142472
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142472#FFFFFF#000000##FFFFFF
##1424721.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142472;
/* rgb */ color: rgb(20, 36, 114);
/* oklch */ color: oklch(30.7% 0.135 267.9);
Tailwind
colors: {
  custom: {
    50: '#645e9b',
    500: '#142472',
    950: '#000000',
  },
}
SCSS
$custom: #142472;
$custom-light: #645e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142472",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 229.787,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30691,
    "c": 0.1349,
    "h": 267.9
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#142472
secondary
#A89539
accent
#CF3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142472

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

Preview Lab → · Contrast checker → · Palette generator →

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