#142E68#142E68

#142E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.107 H 263.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#142E68
RGBrgb(20, 46, 104)
HSLhsl(221, 68%, 24%)
HSVhsv(221, 81%, 41%)
CMYKcmyk(80.8%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.45, 13.32, -36.88)
CIE-LCHlch(20.45, 39.21, 289.86°)
OKLaboklab(31.89% -0.0123 -0.1062)
OKLCHoklch(31.89% 0.107 263.4)
XYZxyz(3.7633, 3.1018, 13.4944)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E68 #684E14
analogous
#145868 #142E68 #241468
triadic
#142E68 #68142E #2E6814
tetradic
#142E68 #681458 #684E14 #146824
square
#142E68 #681458 #684E14 #146824
split-complementary
#142E68 #682414 #586814
monochromatic
#050B1A #0A1735 #142E68 #1E459B #285BCF

Accessibility & contrast

On white

12.96
#142E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E68
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E68#FFFFFF#000000##FFFFFF
##142E681.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142e68;
/* rgb */ color: rgb(20, 46, 104);
/* oklch */ color: oklch(31.9% 0.107 263.4);
Tailwind
colors: {
  custom: {
    50: '#606694',
    500: '#142e68',
    950: '#000000',
  },
}
SCSS
$custom: #142e68;
$custom-light: #606694;
$custom-dark: #000000;
JSON
{
  "hex": "#142e68",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 221.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31886,
    "c": 0.10692,
    "h": 263.4
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#142E68
secondary
#9F7F39
accent
#B53DEB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142E68

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

Preview Lab → · Contrast checker → · Palette generator →

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