#142D5F#142D5F

#142D5F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.095 H 262.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#142D5F
RGBrgb(20, 45, 95)
HSLhsl(220, 65%, 23%)
HSVhsv(220, 79%, 37%)
CMYKcmyk(78.9%, 52.6%, 0%, 62.7%)
CIE-LABlab(19.44, 10.23, -32.61)
CIE-LCHlch(19.44, 34.18, 287.41°)
OKLaboklab(30.9% -0.0126 -0.0937)
OKLCHoklch(30.9% 0.095 262.3)
XYZxyz(3.2917, 2.8514, 11.2011)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5F #5F4614
analogous
#14525F #142D5F #21145F
triadic
#142D5F #5F142D #2D5F14
tetradic
#142D5F #5F1452 #5F4614 #145F21
square
#142D5F #5F1452 #5F4614 #145F21
split-complementary
#142D5F #5F2114 #525F14
monochromatic
#050C19 #09152C #142D5F #1F4592 #295DC4

Accessibility & contrast

On white

13.37
#142D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D5F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5F#FFFFFF#000000##FFFFFF
##142D5F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103361
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d5f;
/* rgb */ color: rgb(20, 45, 95);
/* oklch */ color: oklch(30.9% 0.095 262.3);
Tailwind
colors: {
  custom: {
    50: '#5e658d',
    500: '#142d5f',
    950: '#000000',
  },
}
SCSS
$custom: #142d5f;
$custom-light: #5e658d;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5f",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 220,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30896,
    "c": 0.09452,
    "h": 262.3
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#142D5F
secondary
#977738
accent
#B040E8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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