#142673#142673

#142673 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.134 H 267.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#142673
RGBrgb(20, 38, 115)
HSLhsl(229, 70%, 26%)
HSVhsv(229, 83%, 45%)
CMYKcmyk(82.6%, 67%, 0%, 54.9%)
CIE-LABlab(19.11, 23.67, -46.18)
CIE-LCHlch(19.11, 51.89, 297.14°)
OKLaboklab(31.19% -0.0061 -0.1336)
OKLCHoklch(31.19% 0.134 267.4)
XYZxyz(4.0750, 2.7723, 16.5367)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142673 #736114
analogous
#145673 #142673 #321473
triadic
#142673 #731426 #267314
tetradic
#142673 #731456 #736114 #147332
square
#142673 #731456 #736114 #147332
split-complementary
#142673 #733214 #567314
monochromatic
#05091A #0B153F #142673 #1D37A7 #284ADA

Accessibility & contrast

On white

13.51
#142673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142673
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142673#FFFFFF#000000##FFFFFF
##1426731.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142673;
/* rgb */ color: rgb(20, 38, 115);
/* oklch */ color: oklch(31.2% 0.134 267.4);
Tailwind
colors: {
  custom: {
    50: '#64609c',
    500: '#142673',
    950: '#000000',
  },
}
SCSS
$custom: #142673;
$custom-light: #64609c;
$custom-dark: #000000;
JSON
{
  "hex": "#142673",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 228.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31187,
    "c": 0.13378,
    "h": 267.4
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#142673
secondary
#A9943A
accent
#CB3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142673

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

Preview Lab → · Contrast checker → · Palette generator →

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