#142E6E#142E6E

#142E6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.116 H 264.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#142E6E
RGBrgb(20, 46, 110)
HSLhsl(223, 69%, 25%)
HSVhsv(223, 82%, 43%)
CMYKcmyk(81.8%, 58.2%, 0%, 56.9%)
CIE-LABlab(20.93, 15.85, -39.97)
CIE-LCHlch(20.93, 43.00, 291.63°)
OKLaboklab(32.41% -0.0117 -0.1153)
OKLCHoklch(32.41% 0.116 264.2)
XYZxyz(4.0790, 3.2280, 15.1569)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6E #6E5414
analogous
#145B6E #142E6E #27146E
triadic
#142E6E #6E142E #2E6E14
tetradic
#142E6E #6E145B #6E5414 #146E27
square
#142E6E #6E145B #6E5414 #146E27
split-complementary
#142E6E #6E2714 #5B6E14
monochromatic
#050B1A #0B183A #142E6E #1D44A2 #2759D6

Accessibility & contrast

On white

12.76
#142E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#142E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E6E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6E#FFFFFF#000000##FFFFFF
##142E6E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142e6e;
/* rgb */ color: rgb(20, 46, 110);
/* oklch */ color: oklch(32.4% 0.116 264.2);
Tailwind
colors: {
  custom: {
    50: '#626698',
    500: '#142e6e',
    950: '#000000',
  },
}
SCSS
$custom: #142e6e;
$custom-light: #626698;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6e",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 222.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.11591,
    "h": 264.2
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#142E6E
secondary
#A58639
accent
#B93CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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