#142D67#142D67

#142D67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.107 H 263.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#142D67
RGBrgb(20, 45, 103)
HSLhsl(222, 67%, 24%)
HSVhsv(222, 81%, 40%)
CMYKcmyk(80.6%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.06, 13.62, -36.85)
CIE-LCHlch(20.06, 39.29, 290.29°)
OKLaboklab(31.57% -0.0116 -0.1061)
OKLCHoklch(31.57% 0.107 263.8)
XYZxyz(3.6742, 3.0044, 13.2156)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D67 #674E14
analogous
#145767 #142D67 #251467
triadic
#142D67 #67142D #2D6714
tetradic
#142D67 #671457 #674E14 #146725
square
#142D67 #671457 #674E14 #146725
split-complementary
#142D67 #672514 #576714
monochromatic
#050B1A #0A1734 #142D67 #1E439A #285ACD

Accessibility & contrast

On white

13.12
#142D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D67
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D67#FFFFFF#000000##FFFFFF
##142D671.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033469
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142d67;
/* rgb */ color: rgb(20, 45, 103);
/* oklch */ color: oklch(31.6% 0.107 263.8);
Tailwind
colors: {
  custom: {
    50: '#606593',
    500: '#142d67',
    950: '#000000',
  },
}
SCSS
$custom: #142d67;
$custom-light: #606593;
$custom-dark: #000000;
JSON
{
  "hex": "#142d67",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 221.928,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31568,
    "c": 0.10678,
    "h": 263.8
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#142D67
secondary
#9E8039
accent
#B63DEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142D67

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

Preview Lab → · Contrast checker → · Palette generator →

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