#142D65#142D65

#142D65 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.104 H 263.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#142D65
RGBrgb(20, 45, 101)
HSLhsl(221, 67%, 24%)
HSVhsv(221, 80%, 40%)
CMYKcmyk(80.2%, 55.4%, 0%, 60.4%)
CIE-LABlab(19.90, 12.78, -35.80)
CIE-LCHlch(19.90, 38.01, 289.64°)
OKLaboklab(31.4% -0.0118 -0.1031)
OKLCHoklch(31.4% 0.104 263.5)
XYZxyz(3.5750, 2.9647, 12.6932)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D65 #654C14
analogous
#145565 #142D65 #231465
triadic
#142D65 #65142D #2D6514
tetradic
#142D65 #651455 #654C14 #146523
square
#142D65 #651455 #654C14 #146523
split-complementary
#142D65 #652314 #556514
monochromatic
#050B1A #0A1632 #142D65 #1E4498 #285BCB

Accessibility & contrast

On white

13.18
#142D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D65
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D65#FFFFFF#000000##FFFFFF
##142D651.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073467
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142d65;
/* rgb */ color: rgb(20, 45, 101);
/* oklch */ color: oklch(31.4% 0.104 263.5);
Tailwind
colors: {
  custom: {
    50: '#5f6591',
    500: '#142d65',
    950: '#000000',
  },
}
SCSS
$custom: #142d65;
$custom-light: #5f6591;
$custom-dark: #000000;
JSON
{
  "hex": "#142d65",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 221.481,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31396,
    "c": 0.10374,
    "h": 263.5
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#142D65
secondary
#9C7D39
accent
#B53EEA
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05050D
muted
#797A7E

Preview Lab

Preview with #142D65

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

Preview Lab → · Contrast checker → · Palette generator →

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