#142773#142773

#142773 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.132 H 267.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#142773
RGBrgb(20, 39, 115)
HSLhsl(228, 70%, 26%)
HSVhsv(228, 83%, 45%)
CMYKcmyk(82.6%, 66.1%, 0%, 54.9%)
CIE-LABlab(19.38, 22.96, -45.73)
CIE-LCHlch(19.38, 51.17, 296.66°)
OKLaboklab(31.39% -0.0067 -0.1323)
OKLCHoklch(31.39% 0.132 267.1)
XYZxyz(4.1074, 2.8371, 16.5475)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142773 #736014
analogous
#145773 #142773 #311473
triadic
#142773 #731427 #277314
tetradic
#142773 #731457 #736014 #147331
square
#142773 #731457 #736014 #147331
split-complementary
#142773 #733114 #577314
monochromatic
#05091A #0B153F #142773 #1D39A7 #284BDA

Accessibility & contrast

On white

13.40
#142773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142773
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142773#FFFFFF#000000##FFFFFF
##1427731.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142773;
/* rgb */ color: rgb(20, 39, 115);
/* oklch */ color: oklch(31.4% 0.132 267.1);
Tailwind
colors: {
  custom: {
    50: '#64609c',
    500: '#142773',
    950: '#000000',
  },
}
SCSS
$custom: #142773;
$custom-light: #64609c;
$custom-dark: #000000;
JSON
{
  "hex": "#142773",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 228,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31387,
    "c": 0.13249,
    "h": 267.1
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#142773
secondary
#A9933A
accent
#C93BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #142773

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

Preview Lab → · Contrast checker → · Palette generator →

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