#142572#142572

#142572 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.134 H 267.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#142572
RGBrgb(20, 37, 114)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 82%, 45%)
CMYKcmyk(82.5%, 67.5%, 0%, 55.3%)
CIE-LABlab(18.74, 23.97, -46.13)
CIE-LCHlch(18.74, 51.99, 297.46°)
OKLaboklab(30.89% -0.0054 -0.1335)
OKLCHoklch(30.89% 0.134 267.7)
XYZxyz(3.9863, 2.6863, 16.2247)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142572 #726114
analogous
#145472 #142572 #321472
triadic
#142572 #721425 #257214
tetradic
#142572 #721454 #726114 #147232
square
#142572 #721454 #726114 #147232
split-complementary
#142572 #723214 #547214
monochromatic
#05081A #0B143E #142572 #1D36A6 #2747D9

Accessibility & contrast

On white

13.66
#142572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142572
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142572#FFFFFF#000000##FFFFFF
##1425721.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142572;
/* rgb */ color: rgb(20, 37, 114);
/* oklch */ color: oklch(30.9% 0.134 267.7);
Tailwind
colors: {
  custom: {
    50: '#645f9b',
    500: '#142572',
    950: '#000000',
  },
}
SCSS
$custom: #142572;
$custom-light: #645f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142572",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 229.149,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30887,
    "c": 0.13363,
    "h": 267.7
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#142572
secondary
#A89439
accent
#CD3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142572

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

Preview Lab → · Contrast checker → · Palette generator →

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