#142767#142767

#142767 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.115 H 266.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#142767
RGBrgb(20, 39, 103)
HSLhsl(226, 67%, 24%)
HSVhsv(226, 81%, 40%)
CMYKcmyk(80.6%, 62.1%, 0%, 59.6%)
CIE-LABlab(18.27, 18.01, -39.76)
CIE-LCHlch(18.27, 43.65, 294.37°)
OKLaboklab(30.22% -0.0067 -0.1148)
OKLCHoklch(30.22% 0.115 266.7)
XYZxyz(3.4613, 2.5786, 13.1446)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142767 #675414
analogous
#145167 #142767 #2B1467
triadic
#142767 #671427 #276714
tetradic
#142767 #671451 #675414 #14672B
square
#142767 #671451 #675414 #14672B
split-complementary
#142767 #672B14 #516714
monochromatic
#050A1A #0A1434 #142767 #1E3A9A #284ECD

Accessibility & contrast

On white

13.85
#142767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142767
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142767#FFFFFF#000000##FFFFFF
##1427671.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142767;
/* rgb */ color: rgb(20, 39, 103);
/* oklch */ color: oklch(30.2% 0.115 266.7);
Tailwind
colors: {
  custom: {
    50: '#606093',
    500: '#142767',
    950: '#000000',
  },
}
SCSS
$custom: #142767;
$custom-light: #606093;
$custom-dark: #000000;
JSON
{
  "hex": "#142767",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 226.265,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3022,
    "c": 0.11501,
    "h": 266.7
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#142767
secondary
#9E8739
accent
#C33DEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142767

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

Preview Lab → · Contrast checker → · Palette generator →

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