#142144#142144

#142144 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.7% C 0.068 H 266.4°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#142144
RGBrgb(20, 33, 68)
HSLhsl(224, 55%, 17%)
HSVhsv(224, 71%, 27%)
CMYKcmyk(70.6%, 51.5%, 0%, 73.3%)
CIE-LABlab(13.55, 7.73, -23.81)
CIE-LCHlch(13.55, 25.03, 287.98°)
OKLaboklab(25.75% -0.0043 -0.068)
OKLCHoklch(25.75% 0.068 266.4)
XYZxyz(1.8754, 1.6536, 5.6881)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142144 #443714
analogous
#143944 #142144 #1F1444
triadic
#142144 #441421 #214414
tetradic
#142144 #441439 #443714 #14441F
square
#142144 #441439 #443714 #14441F
split-complementary
#142144 #441F14 #394414
monochromatic
#070B18 #070B18 #142144 #223873 #304FA3

Accessibility & contrast

On white

15.78
#142144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#142144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142144
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142144#FFFFFF#000000##FFFFFF
##1421441.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#082143
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142144;
/* rgb */ color: rgb(20, 33, 68);
/* oklch */ color: oklch(25.7% 0.068 266.4);
Tailwind
colors: {
  custom: {
    50: '#575b78',
    500: '#142144',
    950: '#000000',
  },
}
SCSS
$custom: #142144;
$custom-light: #575b78;
$custom-dark: #000000;
JSON
{
  "hex": "#142144",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 223.75,
    "s": 54.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25748,
    "c": 0.06816,
    "h": 266.4
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#142144
secondary
#7C6A38
accent
#B64ADE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #142144

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

Preview Lab → · Contrast checker → · Palette generator →

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