#142C6C#142C6C

#142C6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.116 H 264.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#142C6C
RGBrgb(20, 44, 108)
HSLhsl(224, 69%, 25%)
HSVhsv(224, 81%, 42%)
CMYKcmyk(81.5%, 59.3%, 0%, 57.6%)
CIE-LABlab(20.17, 16.46, -39.92)
CIE-LCHlch(20.17, 43.18, 292.41°)
OKLaboklab(31.78% -0.0103 -0.1152)
OKLCHoklch(31.78% 0.116 264.9)
XYZxyz(3.8950, 3.0324, 14.5645)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6C #6C5414
analogous
#14586C #142C6C #28146C
triadic
#142C6C #6C142C #2C6C14
tetradic
#142C6C #6C1458 #6C5414 #146C28
square
#142C6C #6C1458 #6C5414 #146C28
split-complementary
#142C6C #6C2814 #586C14
monochromatic
#050B1A #0A1738 #142C6C #1E41A0 #2756D3

Accessibility & contrast

On white

13.07
#142C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C6C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6C#FFFFFF#000000##FFFFFF
##142C6C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142c6c;
/* rgb */ color: rgb(20, 44, 108);
/* oklch */ color: oklch(31.8% 0.116 264.9);
Tailwind
colors: {
  custom: {
    50: '#616497',
    500: '#142c6c',
    950: '#000000',
  },
}
SCSS
$custom: #142c6c;
$custom-light: #616497;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6c",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 223.636,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.11565,
    "h": 264.9
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#142C6C
secondary
#A38639
accent
#BC3CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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