#142849#142849

#142849 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.066 H 259.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#142849
RGBrgb(20, 40, 73)
HSLhsl(217, 57%, 18%)
HSVhsv(217, 73%, 29%)
CMYKcmyk(72.6%, 45.2%, 0%, 71.4%)
CIE-LABlab(16.24, 4.59, -22.97)
CIE-LCHlch(16.24, 23.42, 281.29°)
OKLaboklab(27.93% -0.0117 -0.0654)
OKLCHoklch(27.93% 0.066 259.9)
XYZxyz(2.2495, 2.1471, 6.5979)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142849 #493514
analogous
#144249 #142849 #1A1449
triadic
#142849 #491428 #284914
tetradic
#142849 #491442 #493514 #14491A
square
#142849 #491442 #493514 #14491A
split-complementary
#142849 #491A14 #424914
monochromatic
#070D18 #070E19 #142849 #214279 #2E5DA9

Accessibility & contrast

On white

14.69
#142849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142849
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142849#FFFFFF#000000##FFFFFF
##1428491.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B4A
Deuteranopia (green-blind)
#112648
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142849;
/* rgb */ color: rgb(20, 40, 73);
/* oklch */ color: oklch(27.9% 0.066 259.9);
Tailwind
colors: {
  custom: {
    50: '#58617c',
    500: '#142849',
    950: '#000000',
  },
}
SCSS
$custom: #142849;
$custom-light: #58617c;
$custom-dark: #000000;
JSON
{
  "hex": "#142849",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 217.358,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27931,
    "c": 0.06646,
    "h": 259.9
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#142849
secondary
#816538
accent
#A748E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040509
muted
#79797B

Preview Lab

Preview with #142849

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

Preview Lab → · Contrast checker → · Palette generator →

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