#142143#142143

#142143 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.7% C 0.066 H 266.1°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#142143
RGBrgb(20, 33, 67)
HSLhsl(223, 54%, 17%)
HSVhsv(223, 70%, 26%)
CMYKcmyk(70.1%, 50.7%, 0%, 73.7%)
CIE-LABlab(13.48, 7.31, -23.23)
CIE-LCHlch(13.48, 24.35, 287.46°)
OKLaboklab(25.67% -0.0045 -0.0663)
OKLCHoklch(25.67% 0.066 266.1)
XYZxyz(1.8451, 1.6415, 5.5287)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142143 #433614
analogous
#143943 #142143 #1F1443
triadic
#142143 #431421 #214314
tetradic
#142143 #431439 #433614 #14431F
square
#142143 #431439 #433614 #14431F
split-complementary
#142143 #431F14 #394314
monochromatic
#070C18 #070C18 #142143 #223872 #304FA1

Accessibility & contrast

On white

15.81
#142143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142143
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142143#FFFFFF#000000##FFFFFF
##1421431.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112544
Deuteranopia (green-blind)
#092142
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142143;
/* rgb */ color: rgb(20, 33, 67);
/* oklch */ color: oklch(25.7% 0.066 266.1);
Tailwind
colors: {
  custom: {
    50: '#575b77',
    500: '#142143',
    950: '#000000',
  },
}
SCSS
$custom: #142143;
$custom-light: #575b77;
$custom-dark: #000000;
JSON
{
  "hex": "#142143",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 67
  },
  "hsl": {
    "h": 223.404,
    "s": 54.023,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2567,
    "c": 0.06646,
    "h": 266.1
  },
  "luminance": 0.01642
}

Semantic roles & 50–950 ramp

primary
#142143
secondary
#7B6938
accent
#B54ADD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #142143

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

Preview Lab → · Contrast checker → · Palette generator →

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