#142559#142559

#142559 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.096 H 266.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#142559
RGBrgb(20, 37, 89)
HSLhsl(225, 63%, 21%)
HSVhsv(225, 78%, 35%)
CMYKcmyk(77.5%, 58.4%, 0%, 65.1%)
CIE-LABlab(16.47, 13.60, -33.43)
CIE-LCHlch(16.47, 36.09, 292.13°)
OKLaboklab(28.49% -0.0058 -0.0962)
OKLCHoklch(28.49% 0.096 266.5)
XYZxyz(2.7526, 2.1928, 9.7274)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142559 #594814
analogous
#144859 #142559 #261459
triadic
#142559 #591425 #255914
tetradic
#142559 #591448 #594814 #145926
square
#142559 #591448 #594814 #145926
split-complementary
#142559 #592614 #485914
monochromatic
#060A19 #091027 #142559 #1F3A8B #2A4FBD

Accessibility & contrast

On white

14.60
#142559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142559
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142559#FFFFFF#000000##FFFFFF
##1425591.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142559;
/* rgb */ color: rgb(20, 37, 89);
/* oklch */ color: oklch(28.5% 0.096 266.5);
Tailwind
colors: {
  custom: {
    50: '#5c5f88',
    500: '#142559',
    950: '#000000',
  },
}
SCSS
$custom: #142559;
$custom-light: #5c5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#142559",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 225.217,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28488,
    "c": 0.09642,
    "h": 266.5
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#142559
secondary
#917B38
accent
#BE41E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #142559

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

Preview Lab → · Contrast checker → · Palette generator →

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