#142E6F#142E6F

#142E6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.117 H 264.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#142E6F
RGBrgb(20, 46, 111)
HSLhsl(223, 69%, 26%)
HSVhsv(223, 82%, 44%)
CMYKcmyk(82%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.02, 16.27, -40.48)
CIE-LCHlch(21.02, 43.63, 291.90°)
OKLaboklab(32.5% -0.0116 -0.1168)
OKLCHoklch(32.5% 0.117 264.3)
XYZxyz(4.1337, 3.2499, 15.4453)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E6F #6F5514
analogous
#145B6F #142E6F #27146F
triadic
#142E6F #6F142E #2E6F14
tetradic
#142E6F #6F145B #6F5514 #146F27
square
#142E6F #6F145B #6F5514 #146F27
split-complementary
#142E6F #6F2714 #5B6F14
monochromatic
#050B1A #0B193B #142E6F #1D43A3 #2759D7

Accessibility & contrast

On white

12.73
#142E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142E6F
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E6F#FFFFFF#000000##FFFFFF
##142E6F1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142e6f;
/* rgb */ color: rgb(20, 46, 111);
/* oklch */ color: oklch(32.5% 0.117 264.3);
Tailwind
colors: {
  custom: {
    50: '#626699',
    500: '#142e6f',
    950: '#000000',
  },
}
SCSS
$custom: #142e6f;
$custom-light: #626699;
$custom-dark: #000000;
JSON
{
  "hex": "#142e6f",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 222.857,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32499,
    "c": 0.11739,
    "h": 264.3
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#142E6F
secondary
#A68739
accent
#BA3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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