#142858#142858

#142858 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.091 H 264.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#142858
RGBrgb(20, 40, 88)
HSLhsl(222, 63%, 21%)
HSVhsv(222, 77%, 35%)
CMYKcmyk(77.3%, 54.5%, 0%, 65.5%)
CIE-LABlab(17.32, 10.94, -31.38)
CIE-LCHlch(17.32, 33.23, 289.22°)
OKLaboklab(29.11% -0.0088 -0.0901)
OKLCHoklch(29.11% 0.091 264.4)
XYZxyz(2.8081, 2.3706, 9.5402)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142858 #584414
analogous
#144A58 #142858 #221458
triadic
#142858 #581428 #285814
tetradic
#142858 #58144A #584414 #145822
square
#142858 #58144A #584414 #145822
split-complementary
#142858 #582214 #4A5814
monochromatic
#060B19 #091126 #142858 #1F3F8A #2B55BC

Accessibility & contrast

On white

14.25
#142858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142858
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142858#FFFFFF#000000##FFFFFF
##1428581.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2E5A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#00333B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142858;
/* rgb */ color: rgb(20, 40, 88);
/* oklch */ color: oklch(29.1% 0.091 264.4);
Tailwind
colors: {
  custom: {
    50: '#5c6187',
    500: '#142858',
    950: '#000000',
  },
}
SCSS
$custom: #142858;
$custom-light: #5c6187;
$custom-dark: #000000;
JSON
{
  "hex": "#142858",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 88
  },
  "hsl": {
    "h": 222.353,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.09058,
    "h": 264.4
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#142858
secondary
#907638
accent
#B642E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142858

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

Preview Lab → · Contrast checker → · Palette generator →

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