#142558#142558

#142558 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.095 H 266.4°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#142558
RGBrgb(20, 37, 88)
HSLhsl(225, 63%, 21%)
HSVhsv(225, 77%, 35%)
CMYKcmyk(77.3%, 58%, 0%, 65.5%)
CIE-LABlab(16.39, 13.17, -32.89)
CIE-LCHlch(16.39, 35.43, 291.82°)
OKLaboklab(28.4% -0.0059 -0.0947)
OKLCHoklch(28.4% 0.095 266.4)
XYZxyz(2.7109, 2.1762, 9.5078)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142558 #584714
analogous
#144758 #142558 #251458
triadic
#142558 #581425 #255814
tetradic
#142558 #581447 #584714 #145825
square
#142558 #581447 #584714 #145825
split-complementary
#142558 #582514 #475814
monochromatic
#060A19 #091026 #142558 #1F3A8A #2B4FBC

Accessibility & contrast

On white

14.63
#142558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142558
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142558#FFFFFF#000000##FFFFFF
##1425581.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022C5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142558;
/* rgb */ color: rgb(20, 37, 88);
/* oklch */ color: oklch(28.4% 0.095 266.4);
Tailwind
colors: {
  custom: {
    50: '#5c5f88',
    500: '#142558',
    950: '#000000',
  },
}
SCSS
$custom: #142558;
$custom-light: #5c5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#142558",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 225,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28399,
    "c": 0.09484,
    "h": 266.4
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#142558
secondary
#907A38
accent
#BD42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #142558

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

Preview Lab → · Contrast checker → · Palette generator →

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