#142147#142147

#142147 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.073 H 267.0°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#142147
RGBrgb(20, 33, 71)
HSLhsl(225, 56%, 18%)
HSVhsv(225, 72%, 28%)
CMYKcmyk(71.8%, 53.5%, 0%, 72.2%)
CIE-LABlab(13.78, 8.99, -25.54)
CIE-LCHlch(13.78, 27.07, 289.39°)
OKLaboklab(25.99% -0.0038 -0.0731)
OKLCHoklch(25.99% 0.073 267)
XYZxyz(1.9693, 1.6912, 6.1827)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142147 #473A14
analogous
#143A47 #142147 #201447
triadic
#142147 #471421 #214714
tetradic
#142147 #47143A #473A14 #144720
square
#142147 #47143A #473A14 #144720
split-complementary
#142147 #472014 #3A4714
monochromatic
#070B18 #070B18 #142147 #213777 #2F4DA6

Accessibility & contrast

On white

15.69
#142147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142147
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142147#FFFFFF#000000##FFFFFF
##1421471.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2648
Deuteranopia (green-blind)
#042146
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142147;
/* rgb */ color: rgb(20, 33, 71);
/* oklch */ color: oklch(26.0% 0.073 267.0);
Tailwind
colors: {
  custom: {
    50: '#585b7a',
    500: '#142147',
    950: '#000000',
  },
}
SCSS
$custom: #142147;
$custom-light: #585b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#142147",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 224.706,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2599,
    "c": 0.07319,
    "h": 267
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#142147
secondary
#7F6D38
accent
#B948DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #142147

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

Preview Lab → · Contrast checker → · Palette generator →

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