#142D66#142D66

#142D66 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.105 H 263.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#142D66
RGBrgb(20, 45, 102)
HSLhsl(222, 67%, 24%)
HSVhsv(222, 80%, 40%)
CMYKcmyk(80.4%, 55.9%, 0%, 60%)
CIE-LABlab(19.98, 13.20, -36.33)
CIE-LCHlch(19.98, 38.65, 289.97°)
OKLaboklab(31.48% -0.0117 -0.1046)
OKLCHoklch(31.48% 0.105 263.6)
XYZxyz(3.6243, 2.9844, 12.9528)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D66 #664D14
analogous
#145666 #142D66 #241466
triadic
#142D66 #66142D #2D6614
tetradic
#142D66 #661456 #664D14 #146624
square
#142D66 #661456 #664D14 #146624
split-complementary
#142D66 #662414 #566614
monochromatic
#050B1A #0A1633 #142D66 #1E4499 #285ACC

Accessibility & contrast

On white

13.15
#142D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D66
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D66#FFFFFF#000000##FFFFFF
##142D661.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053468
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142d66;
/* rgb */ color: rgb(20, 45, 102);
/* oklch */ color: oklch(31.5% 0.105 263.6);
Tailwind
colors: {
  custom: {
    50: '#5f6592',
    500: '#142d66',
    950: '#000000',
  },
}
SCSS
$custom: #142d66;
$custom-light: #5f6592;
$custom-dark: #000000;
JSON
{
  "hex": "#142d66",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 221.707,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.10526,
    "h": 263.6
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#142D66
secondary
#9D7F39
accent
#B63EEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142D66

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

Preview Lab → · Contrast checker → · Palette generator →

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