#142D68#142D68

#142D68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.108 H 263.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#142D68
RGBrgb(20, 45, 104)
HSLhsl(222, 68%, 24%)
HSVhsv(222, 81%, 41%)
CMYKcmyk(80.8%, 56.7%, 0%, 59.2%)
CIE-LABlab(20.14, 14.05, -37.37)
CIE-LCHlch(20.14, 39.92, 290.60°)
OKLaboklab(31.66% -0.0115 -0.1077)
OKLCHoklch(31.66% 0.108 263.9)
XYZxyz(3.7247, 3.0246, 13.4815)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D68 #684F14
analogous
#145768 #142D68 #251468
triadic
#142D68 #68142D #2D6814
tetradic
#142D68 #681457 #684F14 #146825
square
#142D68 #681457 #684F14 #146825
split-complementary
#142D68 #682514 #576814
monochromatic
#050B1A #0A1735 #142D68 #1E439B #2859CF

Accessibility & contrast

On white

13.08
#142D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D68
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D68#FFFFFF#000000##FFFFFF
##142D681.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142d68;
/* rgb */ color: rgb(20, 45, 104);
/* oklch */ color: oklch(31.7% 0.108 263.9);
Tailwind
colors: {
  custom: {
    50: '#606594',
    500: '#142d68',
    950: '#000000',
  },
}
SCSS
$custom: #142d68;
$custom-light: #606594;
$custom-dark: #000000;
JSON
{
  "hex": "#142d68",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 222.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31655,
    "c": 0.10829,
    "h": 263.9
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#142D68
secondary
#9F8139
accent
#B73DEB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #142D68

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

Preview Lab → · Contrast checker → · Palette generator →

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