#142573#142573

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

Color values

HEX#142573
RGBrgb(20, 37, 115)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 83%, 45%)
CMYKcmyk(82.6%, 67.8%, 0%, 54.9%)
CIE-LABlab(18.84, 24.38, -46.62)
CIE-LCHlch(18.84, 52.60, 297.61°)
OKLaboklab(30.99% -0.0055 -0.1349)
OKLCHoklch(30.99% 0.135 267.7)
XYZxyz(4.0435, 2.7092, 16.5262)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142573 #736214
analogous
#145573 #142573 #331473
triadic
#142573 #731425 #257314
tetradic
#142573 #731455 #736214 #147333
square
#142573 #731455 #736214 #147333
split-complementary
#142573 #733314 #557314
monochromatic
#05081A #0B143F #142573 #1D36A7 #2848DA

Accessibility & contrast

On white

13.62
#142573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142573
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142573#FFFFFF#000000##FFFFFF
##1425731.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142573;
/* rgb */ color: rgb(20, 37, 115);
/* oklch */ color: oklch(31.0% 0.135 267.7);
Tailwind
colors: {
  custom: {
    50: '#645f9c',
    500: '#142573',
    950: '#000000',
  },
}
SCSS
$custom: #142573;
$custom-light: #645f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142573",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 229.263,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.13504,
    "h": 267.7
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142573

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

Preview Lab → · Contrast checker → · Palette generator →

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