#142859#142859

#142859 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.092 H 264.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#142859
RGBrgb(20, 40, 89)
HSLhsl(223, 63%, 21%)
HSVhsv(223, 78%, 35%)
CMYKcmyk(77.5%, 55.1%, 0%, 65.1%)
CIE-LABlab(17.40, 11.36, -31.92)
CIE-LCHlch(17.40, 33.88, 289.59°)
OKLaboklab(29.19% -0.0087 -0.0917)
OKLCHoklch(29.19% 0.092 264.6)
XYZxyz(2.8498, 2.3873, 9.7599)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142859 #594514
analogous
#144B59 #142859 #231459
triadic
#142859 #591428 #285914
tetradic
#142859 #59144B #594514 #145923
square
#142859 #59144B #594514 #145923
split-complementary
#142859 #592314 #4B5914
monochromatic
#060B19 #091227 #142859 #1F3E8B #2A55BD

Accessibility & contrast

On white

14.21
#142859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142859
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142859#FFFFFF#000000##FFFFFF
##1428591.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2E5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142859;
/* rgb */ color: rgb(20, 40, 89);
/* oklch */ color: oklch(29.2% 0.092 264.6);
Tailwind
colors: {
  custom: {
    50: '#5c6188',
    500: '#142859',
    950: '#000000',
  },
}
SCSS
$custom: #142859;
$custom-light: #5c6188;
$custom-dark: #000000;
JSON
{
  "hex": "#142859",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 89
  },
  "hsl": {
    "h": 222.609,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.09215,
    "h": 264.6
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#142859
secondary
#917738
accent
#B741E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #142859

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

Preview Lab → · Contrast checker → · Palette generator →

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