#142D6E#142D6E

#142D6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.117 H 264.6°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#142D6E
RGBrgb(20, 45, 110)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 82%, 43%)
CMYKcmyk(81.8%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.64, 16.58, -40.45)
CIE-LCHlch(20.64, 43.72, 292.28°)
OKLaboklab(32.19% -0.0109 -0.1167)
OKLCHoklch(32.19% 0.117 264.6)
XYZxyz(4.0404, 3.1508, 15.1441)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6E #6E5514
analogous
#145A6E #142D6E #28146E
triadic
#142D6E #6E142D #2D6E14
tetradic
#142D6E #6E145A #6E5514 #146E28
square
#142D6E #6E145A #6E5514 #146E28
split-complementary
#142D6E #6E2814 #5A6E14
monochromatic
#050B1A #0B183A #142D6E #1D42A2 #2757D6

Accessibility & contrast

On white

12.88
#142D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D6E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6E#FFFFFF#000000##FFFFFF
##142D6E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142d6e;
/* rgb */ color: rgb(20, 45, 110);
/* oklch */ color: oklch(32.2% 0.117 264.6);
Tailwind
colors: {
  custom: {
    50: '#626598',
    500: '#142d6e',
    950: '#000000',
  },
}
SCSS
$custom: #142d6e;
$custom-light: #626598;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6e",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 223.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32186,
    "c": 0.11726,
    "h": 264.6
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#142D6E
secondary
#A58739
accent
#BB3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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