#142B58#142B58

#142B58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.086 H 262.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#142B58
RGBrgb(20, 43, 88)
HSLhsl(220, 63%, 21%)
HSVhsv(220, 77%, 35%)
CMYKcmyk(77.3%, 51.1%, 0%, 65.5%)
CIE-LABlab(18.28, 8.72, -29.84)
CIE-LCHlch(18.28, 31.08, 286.29°)
OKLaboklab(29.84% -0.0118 -0.0855)
OKLCHoklch(29.84% 0.086 262.2)
XYZxyz(2.9132, 2.5807, 9.5752)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B58 #584114
analogous
#144D58 #142B58 #1F1458
triadic
#142B58 #58142B #2B5814
tetradic
#142B58 #58144D #584114 #14581F
square
#142B58 #58144D #584114 #14581F
split-complementary
#142B58 #581F14 #4D5814
monochromatic
#060C19 #091326 #142B58 #1F438A #2B5CBC

Accessibility & contrast

On white

13.85
#142B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B58
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B58#FFFFFF#000000##FFFFFF
##142B581.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305A
Deuteranopia (green-blind)
#042A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142b58;
/* rgb */ color: rgb(20, 43, 88);
/* oklch */ color: oklch(29.8% 0.086 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#142b58',
    950: '#000000',
  },
}
SCSS
$custom: #142b58;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#142b58",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 219.706,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29842,
    "c": 0.08636,
    "h": 262.2
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#142B58
secondary
#907238
accent
#AE42E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142B58

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

Preview Lab → · Contrast checker → · Palette generator →

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