#142356#142356

#142356 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.095 H 267.5°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#142356
RGBrgb(20, 35, 86)
HSLhsl(226, 62%, 21%)
HSVhsv(226, 77%, 34%)
CMYKcmyk(76.7%, 59.3%, 0%, 66.3%)
CIE-LABlab(15.60, 13.82, -32.82)
CIE-LCHlch(15.60, 35.61, 292.84°)
OKLaboklab(27.76% -0.0042 -0.0945)
OKLCHoklch(27.76% 0.095 267.5)
XYZxyz(2.5687, 2.0224, 9.0573)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142356 #564714
analogous
#144456 #142356 #261456
triadic
#142356 #561423 #235614
tetradic
#142356 #561444 #564714 #145626
square
#142356 #561444 #564714 #145626
split-complementary
#142356 #562614 #445614
monochromatic
#060A19 #080F24 #142356 #203788 #2B4BB9

Accessibility & contrast

On white

14.95
#142356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#142356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142356
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142356#FFFFFF#000000##FFFFFF
##1423561.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142356;
/* rgb */ color: rgb(20, 35, 86);
/* oklch */ color: oklch(27.8% 0.095 267.5);
Tailwind
colors: {
  custom: {
    50: '#5c5d86',
    500: '#142356',
    950: '#000000',
  },
}
SCSS
$custom: #142356;
$custom-light: #5c5d86;
$custom-dark: #000000;
JSON
{
  "hex": "#142356",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 86
  },
  "hsl": {
    "h": 226.364,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27757,
    "c": 0.09456,
    "h": 267.5
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#142356
secondary
#8E7A38
accent
#C042E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142356

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

Preview Lab → · Contrast checker → · Palette generator →

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