#142C67#142C67

#142C67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.108 H 264.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#142C67
RGBrgb(20, 44, 103)
HSLhsl(223, 67%, 24%)
HSVhsv(223, 81%, 40%)
CMYKcmyk(80.6%, 57.3%, 0%, 59.6%)
CIE-LABlab(19.76, 14.36, -37.34)
CIE-LCHlch(19.76, 40.01, 291.03°)
OKLaboklab(31.34% -0.0107 -0.1076)
OKLCHoklch(31.34% 0.108 264.3)
XYZxyz(3.6365, 2.9290, 13.2030)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C67 #674F14
analogous
#145667 #142C67 #261467
triadic
#142C67 #67142C #2C6714
tetradic
#142C67 #671456 #674F14 #146726
square
#142C67 #671456 #674F14 #146726
split-complementary
#142C67 #672614 #566714
monochromatic
#050B1A #0A1634 #142C67 #1E429A #2858CD

Accessibility & contrast

On white

13.24
#142C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C67
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C67#FFFFFF#000000##FFFFFF
##142C671.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142c67;
/* rgb */ color: rgb(20, 44, 103);
/* oklch */ color: oklch(31.3% 0.108 264.3);
Tailwind
colors: {
  custom: {
    50: '#606493',
    500: '#142c67',
    950: '#000000',
  },
}
SCSS
$custom: #142c67;
$custom-light: #606493;
$custom-dark: #000000;
JSON
{
  "hex": "#142c67",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 222.651,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31338,
    "c": 0.10815,
    "h": 264.3
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#142C67
secondary
#9E8139
accent
#B83DEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142C67

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

Preview Lab → · Contrast checker → · Palette generator →

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