#142155#142155

#142155 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.096 H 268.6°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#142155
RGBrgb(20, 33, 85)
HSLhsl(228, 62%, 21%)
HSVhsv(228, 76%, 33%)
CMYKcmyk(76.5%, 61.2%, 0%, 66.7%)
CIE-LABlab(14.91, 14.90, -33.27)
CIE-LCHlch(14.91, 36.45, 294.12°)
OKLaboklab(27.21% -0.0024 -0.0958)
OKLCHoklch(27.21% 0.096 268.6)
XYZxyz(2.4715, 1.8921, 8.8275)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142155 #554814
analogous
#144155 #142155 #271455
triadic
#142155 #551421 #215514
tetradic
#142155 #551441 #554814 #145527
square
#142155 #551441 #554814 #145527
split-complementary
#142155 #552714 #415514
monochromatic
#060A19 #080E23 #142155 #203487 #2B47B8

Accessibility & contrast

On white

15.24
#142155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142155
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142155#FFFFFF#000000##FFFFFF
##1421551.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002354
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #142155;
/* rgb */ color: rgb(20, 33, 85);
/* oklch */ color: oklch(27.2% 0.096 268.6);
Tailwind
colors: {
  custom: {
    50: '#5c5b85',
    500: '#142155',
    950: '#000000',
  },
}
SCSS
$custom: #142155;
$custom-light: #5c5b85;
$custom-dark: #000000;
JSON
{
  "hex": "#142155",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 228,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27209,
    "c": 0.09586,
    "h": 268.6
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#142155
secondary
#8D7C38
accent
#C543E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142155

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

Preview Lab → · Contrast checker → · Palette generator →

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