#142C66#142C66

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

Color values

HEX#142C66
RGBrgb(20, 44, 102)
HSLhsl(222, 67%, 24%)
HSVhsv(222, 80%, 40%)
CMYKcmyk(80.4%, 56.9%, 0%, 60%)
CIE-LABlab(19.68, 13.93, -36.82)
CIE-LCHlch(19.68, 39.37, 290.73°)
OKLaboklab(31.25% -0.0108 -0.1061)
OKLCHoklch(31.25% 0.107 264.2)
XYZxyz(3.5866, 2.9090, 12.9403)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C66 #664E14
analogous
#145566 #142C66 #251466
triadic
#142C66 #66142C #2C6614
tetradic
#142C66 #661455 #664E14 #146625
square
#142C66 #661455 #664E14 #146625
split-complementary
#142C66 #662514 #556614
monochromatic
#050B1A #0A1633 #142C66 #1E4299 #2858CC

Accessibility & contrast

On white

13.28
#142C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#142C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C66
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C66#FFFFFF#000000##FFFFFF
##142C661.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013468
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142c66;
/* rgb */ color: rgb(20, 44, 102);
/* oklch */ color: oklch(31.3% 0.107 264.2);
Tailwind
colors: {
  custom: {
    50: '#5f6492',
    500: '#142c66',
    950: '#000000',
  },
}
SCSS
$custom: #142c66;
$custom-light: #5f6492;
$custom-dark: #000000;
JSON
{
  "hex": "#142c66",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 222.439,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3125,
    "c": 0.10664,
    "h": 264.2
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#142C66
secondary
#9D8039
accent
#B83EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142C66

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

Preview Lab → · Contrast checker → · Palette generator →

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