#142A56#142A56

#142A56 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.085 H 262.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#142A56
RGBrgb(20, 42, 86)
HSLhsl(220, 62%, 21%)
HSVhsv(220, 77%, 34%)
CMYKcmyk(76.7%, 51.2%, 0%, 66.3%)
CIE-LABlab(17.81, 8.61, -29.25)
CIE-LCHlch(17.81, 30.49, 286.39°)
OKLaboklab(29.44% -0.0111 -0.0839)
OKLCHoklch(29.44% 0.085 262.4)
XYZxyz(2.7956, 2.4762, 9.1329)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A56 #564014
analogous
#144B56 #142A56 #1F1456
triadic
#142A56 #56142A #2A5614
tetradic
#142A56 #56144B #564014 #14561F
square
#142A56 #56144B #564014 #14561F
split-complementary
#142A56 #561F14 #4B5614
monochromatic
#060C19 #081224 #142A56 #204288 #2B5AB9

Accessibility & contrast

On white

14.04
#142A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A56
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A56#FFFFFF#000000##FFFFFF
##142A561.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#042955
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142a56;
/* rgb */ color: rgb(20, 42, 86);
/* oklch */ color: oklch(29.4% 0.085 262.4);
Tailwind
colors: {
  custom: {
    50: '#5b6386',
    500: '#142a56',
    950: '#000000',
  },
}
SCSS
$custom: #142a56;
$custom-light: #5b6386;
$custom-dark: #000000;
JSON
{
  "hex": "#142a56",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 220,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29435,
    "c": 0.08459,
    "h": 262.4
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#142A56
secondary
#8E7138
accent
#AF42E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A56

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

Preview Lab → · Contrast checker → · Palette generator →

#142A56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva