#142952#142952

#142952 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.080 H 262.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#142952
RGBrgb(20, 41, 82)
HSLhsl(220, 61%, 20%)
HSVhsv(220, 76%, 32%)
CMYKcmyk(75.6%, 50%, 0%, 67.8%)
CIE-LABlab(17.20, 7.65, -27.55)
CIE-LCHlch(17.20, 28.60, 285.51°)
OKLaboklab(28.87% -0.0108 -0.0789)
OKLCHoklch(28.87% 0.08 262.2)
XYZxyz(2.6039, 2.3435, 8.2961)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142952 #523D14
analogous
#144852 #142952 #1E1452
triadic
#142952 #521429 #295214
tetradic
#142952 #521448 #523D14 #14521E
square
#142952 #521448 #523D14 #14521E
split-complementary
#142952 #521E14 #485214
monochromatic
#060C19 #081021 #142952 #204283 #2C5AB4

Accessibility & contrast

On white

14.30
#142952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142952
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142952#FFFFFF#000000##FFFFFF
##1429521.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#082851
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142952;
/* rgb */ color: rgb(20, 41, 82);
/* oklch */ color: oklch(28.9% 0.080 262.2);
Tailwind
colors: {
  custom: {
    50: '#5a6283',
    500: '#142952',
    950: '#000000',
  },
}
SCSS
$custom: #142952;
$custom-light: #5a6283;
$custom-dark: #000000;
JSON
{
  "hex": "#142952",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 219.677,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.28869,
    "c": 0.07962,
    "h": 262.2
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#142952
secondary
#8A6E38
accent
#AE44E4
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #142952

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

Preview Lab → · Contrast checker → · Palette generator →

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