#142856#142856

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

Color values

HEX#142856
RGBrgb(20, 40, 86)
HSLhsl(222, 62%, 21%)
HSVhsv(222, 77%, 34%)
CMYKcmyk(76.7%, 53.5%, 0%, 66.3%)
CIE-LABlab(17.17, 10.09, -30.29)
CIE-LCHlch(17.17, 31.92, 288.42°)
OKLaboklab(28.94% -0.0091 -0.0869)
OKLCHoklch(28.94% 0.087 264)
XYZxyz(2.7264, 2.3379, 9.1099)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142856 #564214
analogous
#144956 #142856 #211456
triadic
#142856 #561428 #285614
tetradic
#142856 #561449 #564214 #145621
square
#142856 #561449 #564214 #145621
split-complementary
#142856 #562114 #495614
monochromatic
#060C19 #081124 #142856 #203F88 #2B56B9

Accessibility & contrast

On white

14.31
#142856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142856
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142856#FFFFFF#000000##FFFFFF
##1428561.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142856;
/* rgb */ color: rgb(20, 40, 86);
/* oklch */ color: oklch(28.9% 0.087 264.0);
Tailwind
colors: {
  custom: {
    50: '#5b6186',
    500: '#142856',
    950: '#000000',
  },
}
SCSS
$custom: #142856;
$custom-light: #5b6186;
$custom-dark: #000000;
JSON
{
  "hex": "#142856",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 86
  },
  "hsl": {
    "h": 221.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28944,
    "c": 0.08741,
    "h": 264
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#142856
secondary
#8E7438
accent
#B442E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142856

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

Preview Lab → · Contrast checker → · Palette generator →

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