#142E67#142E67

#142E67 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.105 H 263.2°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#142E67
RGBrgb(20, 46, 103)
HSLhsl(221, 67%, 24%)
HSVhsv(221, 81%, 40%)
CMYKcmyk(80.6%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.37, 12.89, -36.35)
CIE-LCHlch(20.37, 38.57, 289.53°)
OKLaboklab(31.8% -0.0124 -0.1047)
OKLCHoklch(31.8% 0.105 263.2)
XYZxyz(3.7128, 3.0816, 13.2285)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E67 #674D14
analogous
#145867 #142E67 #241467
triadic
#142E67 #67142E #2E6714
tetradic
#142E67 #671458 #674D14 #146724
square
#142E67 #671458 #674D14 #146724
split-complementary
#142E67 #672414 #586714
monochromatic
#050B1A #0A1734 #142E67 #1E459A #285CCD

Accessibility & contrast

On white

12.99
#142E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E67
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E67#FFFFFF#000000##FFFFFF
##142E671.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142e67;
/* rgb */ color: rgb(20, 46, 103);
/* oklch */ color: oklch(31.8% 0.105 263.2);
Tailwind
colors: {
  custom: {
    50: '#606693',
    500: '#142e67',
    950: '#000000',
  },
}
SCSS
$custom: #142e67;
$custom-light: #606693;
$custom-dark: #000000;
JSON
{
  "hex": "#142e67",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 221.205,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.1054,
    "h": 263.2
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#142E67
secondary
#9E7E39
accent
#B43DEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142E67

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

Preview Lab → · Contrast checker → · Palette generator →

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