#142C5E#142C5E

#142C5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.094 H 262.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#142C5E
RGBrgb(20, 44, 94)
HSLhsl(221, 65%, 22%)
HSVhsv(221, 79%, 37%)
CMYKcmyk(78.7%, 53.2%, 0%, 63.1%)
CIE-LABlab(19.05, 10.53, -32.58)
CIE-LCHlch(19.05, 34.24, 287.92°)
OKLaboklab(30.57% -0.0118 -0.0936)
OKLCHoklch(30.57% 0.094 262.8)
XYZxyz(3.2088, 2.7579, 10.9507)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C5E #5E4614
analogous
#14515E #142C5E #21145E
triadic
#142C5E #5E142C #2C5E14
tetradic
#142C5E #5E1451 #5E4614 #145E21
square
#142C5E #5E1451 #5E4614 #145E21
split-complementary
#142C5E #5E2114 #515E14
monochromatic
#050C19 #09142C #142C5E #1F4490 #295BC3

Accessibility & contrast

On white

13.53
#142C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142C5E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C5E#FFFFFF#000000##FFFFFF
##142C5E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142c5e;
/* rgb */ color: rgb(20, 44, 94);
/* oklch */ color: oklch(30.6% 0.094 262.8);
Tailwind
colors: {
  custom: {
    50: '#5d648c',
    500: '#142c5e',
    950: '#000000',
  },
}
SCSS
$custom: #142c5e;
$custom-light: #5d648c;
$custom-dark: #000000;
JSON
{
  "hex": "#142c5e",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 220.541,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30572,
    "c": 0.09436,
    "h": 262.8
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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