#142F65#142F65

#142F65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.101 H 262.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#142F65
RGBrgb(20, 47, 101)
HSLhsl(220, 67%, 24%)
HSVhsv(220, 80%, 40%)
CMYKcmyk(80.2%, 53.5%, 0%, 60.4%)
CIE-LABlab(20.52, 11.32, -34.80)
CIE-LCHlch(20.52, 36.59, 288.01°)
OKLaboklab(31.87% -0.0136 -0.1001)
OKLCHoklch(31.87% 0.101 262.3)
XYZxyz(3.6531, 3.1209, 12.7193)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F65 #654A14
analogous
#145765 #142F65 #211465
triadic
#142F65 #65142F #2F6514
tetradic
#142F65 #651457 #654A14 #146521
square
#142F65 #651457 #654A14 #146521
split-complementary
#142F65 #652114 #576514
monochromatic
#050C1A #0A1732 #142F65 #1E4798 #285FCB

Accessibility & contrast

On white

12.93
#142F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F65
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F65#FFFFFF#000000##FFFFFF
##142F651.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f65;
/* rgb */ color: rgb(20, 47, 101);
/* oklch */ color: oklch(31.9% 0.101 262.3);
Tailwind
colors: {
  custom: {
    50: '#5f6791',
    500: '#142f65',
    950: '#000000',
  },
}
SCSS
$custom: #142f65;
$custom-light: #5f6791;
$custom-dark: #000000;
JSON
{
  "hex": "#142f65",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 220,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.10099,
    "h": 262.3
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#142F65
secondary
#9C7B39
accent
#B13EEA
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #142F65

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

Preview Lab → · Contrast checker → · Palette generator →

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