#142C5F#142C5F

#142C5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.096 H 263.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#142C5F
RGBrgb(20, 44, 95)
HSLhsl(221, 65%, 23%)
HSVhsv(221, 79%, 37%)
CMYKcmyk(78.9%, 53.7%, 0%, 62.7%)
CIE-LABlab(19.12, 10.96, -33.12)
CIE-LCHlch(19.12, 34.89, 288.31°)
OKLaboklab(30.65% -0.0117 -0.0952)
OKLCHoklch(30.65% 0.096 263)
XYZxyz(3.2540, 2.7760, 11.1886)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C5F #5F4714
analogous
#14515F #142C5F #22145F
triadic
#142C5F #5F142C #2C5F14
tetradic
#142C5F #5F1451 #5F4714 #145F22
square
#142C5F #5F1451 #5F4714 #145F22
split-complementary
#142C5F #5F2214 #515F14
monochromatic
#050C19 #09152C #142C5F #1F4392 #295BC4

Accessibility & contrast

On white

13.50
#142C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C5F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C5F#FFFFFF#000000##FFFFFF
##142C5F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3261
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142c5f;
/* rgb */ color: rgb(20, 44, 95);
/* oklch */ color: oklch(30.7% 0.096 263.0);
Tailwind
colors: {
  custom: {
    50: '#5e648d',
    500: '#142c5f',
    950: '#000000',
  },
}
SCSS
$custom: #142c5f;
$custom-light: #5e648d;
$custom-dark: #000000;
JSON
{
  "hex": "#142c5f",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 220.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30655,
    "c": 0.09591,
    "h": 263
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#142C5F
secondary
#977838
accent
#B240E8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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