#142E58#142E58

#142E58 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.082 H 259.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#142E58
RGBrgb(20, 46, 88)
HSLhsl(217, 63%, 21%)
HSVhsv(217, 77%, 35%)
CMYKcmyk(77.3%, 47.7%, 0%, 65.5%)
CIE-LABlab(19.25, 6.52, -28.27)
CIE-LCHlch(19.25, 29.02, 282.98°)
OKLaboklab(30.59% -0.0149 -0.0809)
OKLCHoklch(30.59% 0.082 259.6)
XYZxyz(3.0263, 2.8070, 9.6129)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E58 #583E14
analogous
#145058 #142E58 #1C1458
triadic
#142E58 #58142E #2E5814
tetradic
#142E58 #581450 #583E14 #14581C
square
#142E58 #581450 #583E14 #14581C
split-complementary
#142E58 #581C14 #505814
monochromatic
#060D19 #091426 #142E58 #1F488A #2B62BC

Accessibility & contrast

On white

13.45
#142E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E58
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E58#FFFFFF#000000##FFFFFF
##142E581.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325A
Deuteranopia (green-blind)
#0C2C57
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142e58;
/* rgb */ color: rgb(20, 46, 88);
/* oklch */ color: oklch(30.6% 0.082 259.6);
Tailwind
colors: {
  custom: {
    50: '#5c6687',
    500: '#142e58',
    950: '#000000',
  },
}
SCSS
$custom: #142e58;
$custom-light: #5c6687;
$custom-dark: #000000;
JSON
{
  "hex": "#142e58",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 217.059,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30591,
    "c": 0.08226,
    "h": 259.6
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#142E58
secondary
#906E38
accent
#A742E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E58

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

Preview Lab → · Contrast checker → · Palette generator →

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