#142D6C#142D6C

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

Color values

HEX#142D6C
RGBrgb(20, 45, 108)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(81.5%, 58.3%, 0%, 57.6%)
CIE-LABlab(20.47, 15.74, -39.43)
CIE-LCHlch(20.47, 42.46, 291.75°)
OKLaboklab(32.01% -0.0111 -0.1137)
OKLCHoklch(32.01% 0.114 264.4)
XYZxyz(3.9327, 3.1078, 14.5770)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D6C #6C5314
analogous
#14596C #142D6C #27146C
triadic
#142D6C #6C142D #2D6C14
tetradic
#142D6C #6C1459 #6C5314 #146C27
square
#142D6C #6C1459 #6C5314 #146C27
split-complementary
#142D6C #6C2714 #596C14
monochromatic
#050B1A #0A1738 #142D6C #1E43A0 #2758D3

Accessibility & contrast

On white

12.95
#142D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D6C
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D6C#FFFFFF#000000##FFFFFF
##142D6C1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142d6c;
/* rgb */ color: rgb(20, 45, 108);
/* oklch */ color: oklch(32.0% 0.114 264.4);
Tailwind
colors: {
  custom: {
    50: '#616597',
    500: '#142d6c',
    950: '#000000',
  },
}
SCSS
$custom: #142d6c;
$custom-light: #616597;
$custom-dark: #000000;
JSON
{
  "hex": "#142d6c",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 222.955,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32007,
    "c": 0.11429,
    "h": 264.4
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #142D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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