#142955#142955

#142955 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.084 H 263.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#142955
RGBrgb(20, 41, 85)
HSLhsl(221, 62%, 21%)
HSVhsv(221, 76%, 33%)
CMYKcmyk(76.5%, 51.8%, 0%, 66.7%)
CIE-LABlab(17.41, 8.92, -29.22)
CIE-LCHlch(17.41, 30.55, 286.97°)
OKLaboklab(29.11% -0.0103 -0.0838)
OKLCHoklch(29.11% 0.084 263)
XYZxyz(2.7205, 2.3902, 8.9105)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142955 #554014
analogous
#144955 #142955 #1F1455
triadic
#142955 #551429 #295514
tetradic
#142955 #551449 #554014 #14551F
square
#142955 #551449 #554014 #14551F
split-complementary
#142955 #551F14 #495514
monochromatic
#060C19 #081123 #142955 #204187 #2B59B8

Accessibility & contrast

On white

14.21
#142955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142955
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142955#FFFFFF#000000##FFFFFF
##1429551.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#032854
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142955;
/* rgb */ color: rgb(20, 41, 85);
/* oklch */ color: oklch(29.1% 0.084 263.0);
Tailwind
colors: {
  custom: {
    50: '#5b6285',
    500: '#142955',
    950: '#000000',
  },
}
SCSS
$custom: #142955;
$custom-light: #5b6285;
$custom-dark: #000000;
JSON
{
  "hex": "#142955",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 220.615,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29107,
    "c": 0.08441,
    "h": 263
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#142955
secondary
#8D7138
accent
#B143E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142955

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

Preview Lab → · Contrast checker → · Palette generator →

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