#142C6A#142C6A

#142C6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.113 H 264.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#142C6A
RGBrgb(20, 44, 106)
HSLhsl(223, 68%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(81.1%, 58.5%, 0%, 58.4%)
CIE-LABlab(20.00, 15.62, -38.89)
CIE-LCHlch(20.00, 41.91, 291.88°)
OKLaboklab(31.6% -0.0105 -0.1122)
OKLCHoklch(31.6% 0.113 264.7)
XYZxyz(3.7898, 2.9903, 14.0103)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C6A #6A5214
analogous
#14576A #142C6A #27146A
triadic
#142C6A #6A142C #2C6A14
tetradic
#142C6A #6A1457 #6A5214 #146A27
square
#142C6A #6A1457 #6A5214 #146A27
split-complementary
#142C6A #6A2714 #576A14
monochromatic
#050B1A #0A1737 #142C6A #1E419D #2757D1

Accessibility & contrast

On white

13.14
#142C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C6A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C6A#FFFFFF#000000##FFFFFF
##142C6A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142c6a;
/* rgb */ color: rgb(20, 44, 106);
/* oklch */ color: oklch(31.6% 0.113 264.7);
Tailwind
colors: {
  custom: {
    50: '#616495',
    500: '#142c6a',
    950: '#000000',
  },
}
SCSS
$custom: #142c6a;
$custom-light: #616495;
$custom-dark: #000000;
JSON
{
  "hex": "#142c6a",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 223.256,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.11267,
    "h": 264.7
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#142C6A
secondary
#A18439
accent
#BA3DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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