#142947#142947

#142947 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.062 H 257.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#142947
RGBrgb(20, 41, 71)
HSLhsl(215, 56%, 18%)
HSVhsv(215, 72%, 28%)
CMYKcmyk(71.8%, 42.3%, 0%, 72.2%)
CIE-LABlab(16.45, 3.02, -21.26)
CIE-LCHlch(16.45, 21.48, 278.07°)
OKLaboklab(28.05% -0.0134 -0.0604)
OKLCHoklch(28.05% 0.062 257.5)
XYZxyz(2.2184, 2.1893, 6.2657)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142947 #473214
analogous
#144247 #142947 #181447
triadic
#142947 #471429 #294714
tetradic
#142947 #471442 #473214 #144718
square
#142947 #471442 #473214 #144718
split-complementary
#142947 #471814 #424714
monochromatic
#070E18 #070E18 #142947 #214577 #2F60A6

Accessibility & contrast

On white

14.60
#142947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142947
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142947#FFFFFF#000000##FFFFFF
##1429471.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B48
Deuteranopia (green-blind)
#152746
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142947;
/* rgb */ color: rgb(20, 41, 71);
/* oklch */ color: oklch(28.1% 0.062 257.5);
Tailwind
colors: {
  custom: {
    50: '#58627a',
    500: '#142947',
    950: '#000000',
  },
}
SCSS
$custom: #142947;
$custom-light: #58627a;
$custom-dark: #000000;
JSON
{
  "hex": "#142947",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 215.294,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28052,
    "c": 0.06189,
    "h": 257.5
  },
  "luminance": 0.0219
}

Semantic roles & 50–950 ramp

primary
#142947
secondary
#7F6238
accent
#A148DF
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #142947

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

Preview Lab → · Contrast checker → · Palette generator →

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