#142273#142273

#142273 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.139 H 268.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#142273
RGBrgb(20, 34, 115)
HSLhsl(231, 70%, 26%)
HSVhsv(231, 83%, 45%)
CMYKcmyk(82.6%, 70.4%, 0%, 54.9%)
CIE-LABlab(18.05, 26.46, -47.91)
CIE-LCHlch(18.05, 54.73, 298.92°)
OKLaboklab(30.42% -0.0038 -0.1387)
OKLCHoklch(30.42% 0.139 268.4)
XYZxyz(3.9540, 2.5301, 16.4963)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142273 #736514
analogous
#145273 #142273 #361473
triadic
#142273 #731422 #227314
tetradic
#142273 #731452 #736514 #147336
square
#142273 #731452 #736514 #147336
split-complementary
#142273 #733614 #527314
monochromatic
#05081A #0B133F #142273 #1D31A7 #2842DA

Accessibility & contrast

On white

13.94
#142273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142273
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142273#FFFFFF#000000##FFFFFF
##1422731.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142273;
/* rgb */ color: rgb(20, 34, 115);
/* oklch */ color: oklch(30.4% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#645d9c',
    500: '#142273',
    950: '#000000',
  },
}
SCSS
$custom: #142273;
$custom-light: #645d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#142273",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 231.158,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.13877,
    "h": 268.4
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#142273
secondary
#A9993A
accent
#D33BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142273

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

Preview Lab → · Contrast checker → · Palette generator →

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