#142D5D#142D5D

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

Color values

HEX#142D5D
RGBrgb(20, 45, 93)
HSLhsl(219, 65%, 22%)
HSVhsv(219, 78%, 36%)
CMYKcmyk(78.5%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.29, 9.38, -31.53)
CIE-LCHlch(19.29, 32.90, 286.56°)
OKLaboklab(30.73% -0.0129 -0.0905)
OKLCHoklch(30.73% 0.091 261.9)
XYZxyz(3.2020, 2.8155, 10.7285)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5D #5D4414
analogous
#14525D #142D5D #20145D
triadic
#142D5D #5D142D #2D5D14
tetradic
#142D5D #5D1452 #5D4414 #145D20
square
#142D5D #5D1452 #5D4414 #145D20
split-complementary
#142D5D #5D2014 #525D14
monochromatic
#050C19 #09152B #142D5D #1F458F #2A5EC2

Accessibility & contrast

On white

13.43
#142D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D5D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5D#FFFFFF#000000##FFFFFF
##142D5D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#012C5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142d5d;
/* rgb */ color: rgb(20, 45, 93);
/* oklch */ color: oklch(30.7% 0.091 261.9);
Tailwind
colors: {
  custom: {
    50: '#5d658b',
    500: '#142d5d',
    950: '#000000',
  },
}
SCSS
$custom: #142d5d;
$custom-light: #5d658b;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5d",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 219.452,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30733,
    "c": 0.09142,
    "h": 261.9
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#142D5D
secondary
#957538
accent
#AE40E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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