#142E6D#142E6D

#142E6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.114 H 264.1°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#142E6D
RGBrgb(20, 46, 109)
HSLhsl(222, 69%, 25%)
HSVhsv(222, 82%, 43%)
CMYKcmyk(81.7%, 57.8%, 0%, 57.3%)
CIE-LABlab(20.85, 15.43, -39.46)
CIE-LCHlch(20.85, 42.37, 291.36°)
OKLaboklab(32.32% -0.0118 -0.1138)
OKLCHoklch(32.32% 0.114 264.1)
XYZxyz(4.0248, 3.2064, 14.8718)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6D #6D5314
analogous
#145A6D #142E6D #27146D
triadic
#142E6D #6D142E #2E6D14
tetradic
#142E6D #6D145A #6D5314 #146D27
square
#142E6D #6D145A #6D5314 #146D27
split-complementary
#142E6D #6D2714 #5A6D14
monochromatic
#050B1A #0B1839 #142E6D #1D44A1 #275AD4

Accessibility & contrast

On white

12.79
#142E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#142E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E6D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6D#FFFFFF#000000##FFFFFF
##142E6D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #142e6d;
/* rgb */ color: rgb(20, 46, 109);
/* oklch */ color: oklch(32.3% 0.114 264.1);
Tailwind
colors: {
  custom: {
    50: '#616697',
    500: '#142e6d',
    950: '#000000',
  },
}
SCSS
$custom: #142e6d;
$custom-light: #616697;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6d",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 222.472,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.11442,
    "h": 264.1
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#142E6D
secondary
#A48539
accent
#B83CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #142E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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