#142243#142243

#142243 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.065 H 264.9°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#142243
RGBrgb(20, 34, 67)
HSLhsl(222, 54%, 17%)
HSVhsv(222, 70%, 26%)
CMYKcmyk(70.1%, 49.3%, 0%, 73.7%)
CIE-LABlab(13.81, 6.55, -22.70)
CIE-LCHlch(13.81, 23.62, 286.09°)
OKLaboklab(25.93% -0.0057 -0.0647)
OKLCHoklch(25.93% 0.065 264.9)
XYZxyz(1.8733, 1.6979, 5.5381)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142243 #433514
analogous
#143A43 #142243 #1E1443
triadic
#142243 #431422 #224314
tetradic
#142243 #43143A #433514 #14431E
square
#142243 #43143A #433514 #14431E
split-complementary
#142243 #431E14 #3A4314
monochromatic
#070C18 #070C18 #142243 #223A72 #3052A1

Accessibility & contrast

On white

15.68
#142243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#142243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142243
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142243#FFFFFF#000000##FFFFFF
##1422431.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132644
Deuteranopia (green-blind)
#0C2142
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142243;
/* rgb */ color: rgb(20, 34, 67);
/* oklch */ color: oklch(25.9% 0.065 264.9);
Tailwind
colors: {
  custom: {
    50: '#575c77',
    500: '#142243',
    950: '#000000',
  },
}
SCSS
$custom: #142243;
$custom-light: #575c77;
$custom-dark: #000000;
JSON
{
  "hex": "#142243",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 67
  },
  "hsl": {
    "h": 222.128,
    "s": 54.023,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25926,
    "c": 0.06498,
    "h": 264.9
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#142243
secondary
#7B6738
accent
#B24ADD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #142243

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

Preview Lab → · Contrast checker → · Palette generator →

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