#142F68#142F68

#142F68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.106 H 262.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#142F68
RGBrgb(20, 47, 104)
HSLhsl(221, 68%, 24%)
HSVhsv(221, 81%, 41%)
CMYKcmyk(80.8%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.75, 12.59, -36.38)
CIE-LCHlch(20.75, 38.50, 289.09°)
OKLaboklab(32.12% -0.0132 -0.1047)
OKLCHoklch(32.12% 0.106 262.8)
XYZxyz(3.8028, 3.1808, 13.5076)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F68 #684D14
analogous
#145968 #142F68 #231468
triadic
#142F68 #68142F #2F6814
tetradic
#142F68 #681459 #684D14 #146823
square
#142F68 #681459 #684D14 #146823
split-complementary
#142F68 #682314 #596814
monochromatic
#050C1A #0A1835 #142F68 #1E469B #285DCF

Accessibility & contrast

On white

12.83
#142F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F68
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F68#FFFFFF#000000##FFFFFF
##142F681.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142f68;
/* rgb */ color: rgb(20, 47, 104);
/* oklch */ color: oklch(32.1% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#606794',
    500: '#142f68',
    950: '#000000',
  },
}
SCSS
$custom: #142f68;
$custom-light: #606794;
$custom-dark: #000000;
JSON
{
  "hex": "#142f68",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 220.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32119,
    "c": 0.10555,
    "h": 262.8
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#142F68
secondary
#9F7E39
accent
#B33DEB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #142F68

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

Preview Lab → · Contrast checker → · Palette generator →

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