#142C5D#142C5D

#142C5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.093 H 262.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#142C5D
RGBrgb(20, 44, 93)
HSLhsl(220, 65%, 22%)
HSVhsv(220, 78%, 36%)
CMYKcmyk(78.5%, 52.7%, 0%, 63.5%)
CIE-LABlab(18.97, 10.11, -32.04)
CIE-LCHlch(18.97, 33.60, 287.51°)
OKLaboklab(30.49% -0.0119 -0.092)
OKLCHoklch(30.49% 0.093 262.6)
XYZxyz(3.1643, 2.7401, 10.7159)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C5D #5D4514
analogous
#14515D #142C5D #21145D
triadic
#142C5D #5D142C #2C5D14
tetradic
#142C5D #5D1451 #5D4514 #145D21
square
#142C5D #5D1451 #5D4514 #145D21
split-complementary
#142C5D #5D2114 #515D14
monochromatic
#050C19 #09142B #142C5D #1F448F #2A5CC2

Accessibility & contrast

On white

13.57
#142C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C5D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C5D#FFFFFF#000000##FFFFFF
##142C5D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142c5d;
/* rgb */ color: rgb(20, 44, 93);
/* oklch */ color: oklch(30.5% 0.093 262.6);
Tailwind
colors: {
  custom: {
    50: '#5d648b',
    500: '#142c5d',
    950: '#000000',
  },
}
SCSS
$custom: #142c5d;
$custom-light: #5d648b;
$custom-dark: #000000;
JSON
{
  "hex": "#142c5d",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 220.274,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3049,
    "c": 0.0928,
    "h": 262.6
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#142C5D
secondary
#957638
accent
#B140E8
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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