#142846#142846

#142846 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.062 H 258.3°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#142846
RGBrgb(20, 40, 70)
HSLhsl(216, 56%, 18%)
HSVhsv(216, 71%, 27%)
CMYKcmyk(71.4%, 42.9%, 0%, 72.5%)
CIE-LABlab(16.05, 3.33, -21.22)
CIE-LCHlch(16.05, 21.48, 278.92°)
OKLaboklab(27.72% -0.0125 -0.0603)
OKLCHoklch(27.72% 0.062 258.3)
XYZxyz(2.1524, 2.1083, 6.0867)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142846 #463214
analogous
#144146 #142846 #191446
triadic
#142846 #461428 #284614
tetradic
#142846 #461441 #463214 #144619
square
#142846 #461441 #463214 #144619
split-complementary
#142846 #461914 #414614
monochromatic
#070E18 #070E18 #142846 #224376 #2F5EA5

Accessibility & contrast

On white

14.77
#142846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142846
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142846#FFFFFF#000000##FFFFFF
##1428461.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A47
Deuteranopia (green-blind)
#142645
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142846;
/* rgb */ color: rgb(20, 40, 70);
/* oklch */ color: oklch(27.7% 0.062 258.3);
Tailwind
colors: {
  custom: {
    50: '#586179',
    500: '#142846',
    950: '#000000',
  },
}
SCSS
$custom: #142846;
$custom-light: #586179;
$custom-dark: #000000;
JSON
{
  "hex": "#142846",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 70
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27716,
    "c": 0.06159,
    "h": 258.3
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#142846
secondary
#7E6238
accent
#A349DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #142846

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

Preview Lab → · Contrast checker → · Palette generator →

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