#142C68#142C68

#142C68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.110 H 264.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#142C68
RGBrgb(20, 44, 104)
HSLhsl(223, 68%, 24%)
HSVhsv(223, 81%, 41%)
CMYKcmyk(80.8%, 57.7%, 0%, 59.2%)
CIE-LABlab(19.84, 14.78, -37.86)
CIE-LCHlch(19.84, 40.64, 291.32°)
OKLaboklab(31.43% -0.0106 -0.1091)
OKLCHoklch(31.43% 0.11 264.4)
XYZxyz(3.6870, 2.9491, 13.4689)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C68 #685014
analogous
#145668 #142C68 #261468
triadic
#142C68 #68142C #2C6814
tetradic
#142C68 #681456 #685014 #146826
square
#142C68 #681456 #685014 #146826
split-complementary
#142C68 #682614 #566814
monochromatic
#050B1A #0A1635 #142C68 #1E429B #2857CF

Accessibility & contrast

On white

13.21
#142C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C68
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C68#FFFFFF#000000##FFFFFF
##142C681.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142c68;
/* rgb */ color: rgb(20, 44, 104);
/* oklch */ color: oklch(31.4% 0.110 264.4);
Tailwind
colors: {
  custom: {
    50: '#606494',
    500: '#142c68',
    950: '#000000',
  },
}
SCSS
$custom: #142c68;
$custom-light: #606494;
$custom-dark: #000000;
JSON
{
  "hex": "#142c68",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 222.857,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31426,
    "c": 0.10967,
    "h": 264.4
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#142C68
secondary
#9F8239
accent
#B93DEB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142C68

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

Preview Lab → · Contrast checker → · Palette generator →

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