#142D6D#142D6D

#142D6D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.116 H 264.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#142D6D
RGBrgb(20, 45, 109)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 82%, 43%)
CMYKcmyk(81.7%, 58.7%, 0%, 57.3%)
CIE-LABlab(20.55, 16.16, -39.94)
CIE-LCHlch(20.55, 43.09, 292.02°)
OKLaboklab(32.1% -0.011 -0.1152)
OKLCHoklch(32.1% 0.116 264.5)
XYZxyz(3.9862, 3.1292, 14.8589)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6D #6D5414
analogous
#14596D #142D6D #27146D
triadic
#142D6D #6D142D #2D6D14
tetradic
#142D6D #6D1459 #6D5414 #146D27
square
#142D6D #6D1459 #6D5414 #146D27
split-complementary
#142D6D #6D2714 #596D14
monochromatic
#050B1A #0B1839 #142D6D #1D42A1 #2758D4

Accessibility & contrast

On white

12.92
#142D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D6D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6D#FFFFFF#000000##FFFFFF
##142D6D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142d6d;
/* rgb */ color: rgb(20, 45, 109);
/* oklch */ color: oklch(32.1% 0.116 264.5);
Tailwind
colors: {
  custom: {
    50: '#616597',
    500: '#142d6d',
    950: '#000000',
  },
}
SCSS
$custom: #142d6d;
$custom-light: #616597;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6d",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 109
  },
  "hsl": {
    "h": 223.146,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32096,
    "c": 0.11578,
    "h": 264.5
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#142D6D
secondary
#A48639
accent
#BA3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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