#142A5D#142A5D

#142A5D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.096 H 264.0°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#142A5D
RGBrgb(20, 42, 93)
HSLhsl(222, 65%, 22%)
HSVhsv(222, 78%, 36%)
CMYKcmyk(78.5%, 54.8%, 0%, 63.5%)
CIE-LABlab(18.34, 11.58, -33.06)
CIE-LCHlch(18.34, 35.03, 289.31°)
OKLaboklab(30.01% -0.01 -0.0951)
OKLCHoklch(30.01% 0.096 264)
XYZxyz(3.0915, 2.5946, 10.6917)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A5D #5D4714
analogous
#144F5D #142A5D #23145D
triadic
#142A5D #5D142A #2A5D14
tetradic
#142A5D #5D144F #5D4714 #145D23
square
#142A5D #5D144F #5D4714 #145D23
split-complementary
#142A5D #5D2314 #4F5D14
monochromatic
#050B19 #09132B #142A5D #1F418F #2A57C2

Accessibility & contrast

On white

13.82
#142A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A5D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A5D#FFFFFF#000000##FFFFFF
##142A5D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142a5d;
/* rgb */ color: rgb(20, 42, 93);
/* oklch */ color: oklch(30.0% 0.096 264.0);
Tailwind
colors: {
  custom: {
    50: '#5d638b',
    500: '#142a5d',
    950: '#000000',
  },
}
SCSS
$custom: #142a5d;
$custom-light: #5d638b;
$custom-dark: #000000;
JSON
{
  "hex": "#142a5d",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 221.918,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3001,
    "c": 0.09559,
    "h": 264
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#142A5D
secondary
#957938
accent
#B540E8
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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