#142C5C#142C5C

#142C5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.091 H 262.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#142C5C
RGBrgb(20, 44, 92)
HSLhsl(220, 64%, 22%)
HSVhsv(220, 78%, 36%)
CMYKcmyk(78.3%, 52.2%, 0%, 63.9%)
CIE-LABlab(18.90, 9.68, -31.50)
CIE-LCHlch(18.90, 32.96, 287.09°)
OKLaboklab(30.41% -0.0121 -0.0904)
OKLCHoklch(30.41% 0.091 262.4)
XYZxyz(3.1203, 2.7225, 10.4842)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C5C #5C4414
analogous
#14505C #142C5C #20145C
triadic
#142C5C #5C142C #2C5C14
tetradic
#142C5C #5C1450 #5C4414 #145C20
square
#142C5C #5C1450 #5C4414 #145C20
split-complementary
#142C5C #5C2014 #505C14
monochromatic
#050C19 #09142A #142C5C #1F448E #2A5CC1

Accessibility & contrast

On white

13.60
#142C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C5C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C5C#FFFFFF#000000##FFFFFF
##142C5C1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142c5c;
/* rgb */ color: rgb(20, 44, 92);
/* oklch */ color: oklch(30.4% 0.091 262.4);
Tailwind
colors: {
  custom: {
    50: '#5d648a',
    500: '#142c5c',
    950: '#000000',
  },
}
SCSS
$custom: #142c5c;
$custom-light: #5d648a;
$custom-dark: #000000;
JSON
{
  "hex": "#142c5c",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 220,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.09125,
    "h": 262.4
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#142C5C
secondary
#947538
accent
#B041E7
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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