#142347#142347

#142347 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.070 H 265.0°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#142347
RGBrgb(20, 35, 71)
HSLhsl(222, 56%, 18%)
HSVhsv(222, 72%, 28%)
CMYKcmyk(71.8%, 50.7%, 0%, 72.2%)
CIE-LABlab(14.43, 7.48, -24.48)
CIE-LCHlch(14.43, 25.60, 286.98°)
OKLaboklab(26.49% -0.0061 -0.07)
OKLCHoklch(26.49% 0.07 265)
XYZxyz(2.0265, 1.8055, 6.2017)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142347 #473814
analogous
#143C47 #142347 #1E1447
triadic
#142347 #471423 #234714
tetradic
#142347 #47143C #473814 #14471E
square
#142347 #47143C #473814 #14471E
split-complementary
#142347 #471E14 #3C4714
monochromatic
#070C18 #070C18 #142347 #213B77 #2F52A6

Accessibility & contrast

On white

15.43
#142347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#142347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142347
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142347#FFFFFF#000000##FFFFFF
##1423471.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122748
Deuteranopia (green-blind)
#092246
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142347;
/* rgb */ color: rgb(20, 35, 71);
/* oklch */ color: oklch(26.5% 0.070 265.0);
Tailwind
colors: {
  custom: {
    50: '#585d7a',
    500: '#142347',
    950: '#000000',
  },
}
SCSS
$custom: #142347;
$custom-light: #585d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#142347",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 71
  },
  "hsl": {
    "h": 222.353,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26492,
    "c": 0.07023,
    "h": 265
  },
  "luminance": 0.01806
}

Semantic roles & 50–950 ramp

primary
#142347
secondary
#7F6A38
accent
#B348DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #142347

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

Preview Lab → · Contrast checker → · Palette generator →

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