#142A58#142A58

#142A58 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.088 H 262.9°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#142A58
RGBrgb(20, 42, 88)
HSLhsl(221, 63%, 21%)
HSVhsv(221, 77%, 35%)
CMYKcmyk(77.3%, 52.3%, 0%, 65.5%)
CIE-LABlab(17.96, 9.46, -30.35)
CIE-LCHlch(17.96, 31.79, 287.30°)
OKLaboklab(29.6% -0.0108 -0.0871)
OKLCHoklch(29.6% 0.088 262.9)
XYZxyz(2.8773, 2.5089, 9.5633)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A58 #584214
analogous
#144C58 #142A58 #201458
triadic
#142A58 #58142A #2A5814
tetradic
#142A58 #58144C #584214 #145820
square
#142A58 #58144C #584214 #145820
split-complementary
#142A58 #582014 #4C5814
monochromatic
#060C19 #091226 #142A58 #1F428A #2B5ABC

Accessibility & contrast

On white

13.98
#142A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A58
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A58#FFFFFF#000000##FFFFFF
##142A581.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112F5A
Deuteranopia (green-blind)
#012957
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142a58;
/* rgb */ color: rgb(20, 42, 88);
/* oklch */ color: oklch(29.6% 0.088 262.9);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#142a58',
    950: '#000000',
  },
}
SCSS
$custom: #142a58;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#142a58",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 220.588,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29596,
    "c": 0.08775,
    "h": 262.9
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#142A58
secondary
#907338
accent
#B142E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A58

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

Preview Lab → · Contrast checker → · Palette generator →

#142A58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva