#142F66#142F66

#142F66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.103 H 262.5°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#142F66
RGBrgb(20, 47, 102)
HSLhsl(220, 67%, 24%)
HSVhsv(220, 80%, 40%)
CMYKcmyk(80.4%, 53.9%, 0%, 60%)
CIE-LABlab(20.60, 11.74, -35.33)
CIE-LCHlch(20.60, 37.23, 288.38°)
OKLaboklab(31.95% -0.0134 -0.1016)
OKLCHoklch(31.95% 0.103 262.5)
XYZxyz(3.7024, 3.1406, 12.9789)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F66 #664B14
analogous
#145866 #142F66 #221466
triadic
#142F66 #66142F #2F6614
tetradic
#142F66 #661458 #664B14 #146622
square
#142F66 #661458 #664B14 #146622
split-complementary
#142F66 #662214 #586614
monochromatic
#050C1A #0A1733 #142F66 #1E4799 #285ECC

Accessibility & contrast

On white

12.90
#142F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#142F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F66
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F66#FFFFFF#000000##FFFFFF
##142F661.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142f66;
/* rgb */ color: rgb(20, 47, 102);
/* oklch */ color: oklch(32.0% 0.103 262.5);
Tailwind
colors: {
  custom: {
    50: '#5f6792',
    500: '#142f66',
    950: '#000000',
  },
}
SCSS
$custom: #142f66;
$custom-light: #5f6792;
$custom-dark: #000000;
JSON
{
  "hex": "#142f66",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 220.244,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31952,
    "c": 0.10251,
    "h": 262.5
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#142F66
secondary
#9D7C39
accent
#B13EEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #142F66

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

Preview Lab → · Contrast checker → · Palette generator →

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