#142A57#142A57

#142A57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.086 H 262.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#142A57
RGBrgb(20, 42, 87)
HSLhsl(220, 63%, 21%)
HSVhsv(220, 77%, 34%)
CMYKcmyk(77%, 51.7%, 0%, 65.9%)
CIE-LABlab(17.88, 9.03, -29.80)
CIE-LCHlch(17.88, 31.14, 286.85°)
OKLaboklab(29.52% -0.0109 -0.0855)
OKLCHoklch(29.52% 0.086 262.7)
XYZxyz(2.8361, 2.4925, 9.3466)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A57 #574114
analogous
#144B57 #142A57 #1F1457
triadic
#142A57 #57142A #2A5714
tetradic
#142A57 #57144B #574114 #14571F
square
#142A57 #57144B #574114 #14571F
split-complementary
#142A57 #571F14 #4B5714
monochromatic
#060C19 #091225 #142A57 #1F4289 #2B5ABB

Accessibility & contrast

On white

14.01
#142A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A57
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A57#FFFFFF#000000##FFFFFF
##142A571.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#032956
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142a57;
/* rgb */ color: rgb(20, 42, 87);
/* oklch */ color: oklch(29.5% 0.086 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c6387',
    500: '#142a57',
    950: '#000000',
  },
}
SCSS
$custom: #142a57;
$custom-light: #5c6387;
$custom-dark: #000000;
JSON
{
  "hex": "#142a57",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 220.299,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29515,
    "c": 0.08618,
    "h": 262.7
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#142A57
secondary
#8F7238
accent
#B042E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142A57

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

Preview Lab → · Contrast checker → · Palette generator →

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