#142759#142759

#142759 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.094 H 265.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#142759
RGBrgb(20, 39, 89)
HSLhsl(223, 63%, 21%)
HSVhsv(223, 78%, 35%)
CMYKcmyk(77.5%, 56.2%, 0%, 65.1%)
CIE-LABlab(17.09, 12.11, -32.43)
CIE-LCHlch(17.09, 34.61, 290.47°)
OKLaboklab(28.96% -0.0077 -0.0932)
OKLCHoklch(28.96% 0.094 265.3)
XYZxyz(2.8165, 2.3207, 9.7488)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142759 #594614
analogous
#144A59 #142759 #241459
triadic
#142759 #591427 #275914
tetradic
#142759 #59144A #594614 #145924
square
#142759 #59144A #594614 #145924
split-complementary
#142759 #592414 #4A5914
monochromatic
#060B19 #091127 #142759 #1F3D8B #2A53BD

Accessibility & contrast

On white

14.34
#142759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142759
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142759#FFFFFF#000000##FFFFFF
##1427591.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142759;
/* rgb */ color: rgb(20, 39, 89);
/* oklch */ color: oklch(29.0% 0.094 265.3);
Tailwind
colors: {
  custom: {
    50: '#5c6088',
    500: '#142759',
    950: '#000000',
  },
}
SCSS
$custom: #142759;
$custom-light: #5c6088;
$custom-dark: #000000;
JSON
{
  "hex": "#142759",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 223.478,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28957,
    "c": 0.09357,
    "h": 265.3
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#142759
secondary
#917838
accent
#B941E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #142759

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

Preview Lab → · Contrast checker → · Palette generator →

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