#142E6B#142E6B

#142E6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.111 H 263.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#142E6B
RGBrgb(20, 46, 107)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 81%, 42%)
CMYKcmyk(81.3%, 57%, 0%, 58%)
CIE-LABlab(20.69, 14.59, -38.43)
CIE-LCHlch(20.69, 41.11, 290.79°)
OKLaboklab(32.15% -0.012 -0.1108)
OKLCHoklch(32.15% 0.111 263.8)
XYZxyz(3.9184, 3.1638, 14.3112)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6B #6B5114
analogous
#145A6B #142E6B #26146B
triadic
#142E6B #6B142E #2E6B14
tetradic
#142E6B #6B145A #6B5114 #146B26
square
#142E6B #6B145A #6B5114 #146B26
split-complementary
#142E6B #6B2614 #5A6B14
monochromatic
#050B1A #0A1837 #142E6B #1E449F #275AD2

Accessibility & contrast

On white

12.86
#142E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E6B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6B#FFFFFF#000000##FFFFFF
##142E6B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142e6b;
/* rgb */ color: rgb(20, 46, 107);
/* oklch */ color: oklch(32.1% 0.111 263.8);
Tailwind
colors: {
  custom: {
    50: '#616696',
    500: '#142e6b',
    950: '#000000',
  },
}
SCSS
$custom: #142e6b;
$custom-light: #616696;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6b",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 222.069,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32145,
    "c": 0.11144,
    "h": 263.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#142E6B
secondary
#A28339
accent
#B73CEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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