#142E71#142E71

#142E71 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.120 H 264.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#142E71
RGBrgb(20, 46, 113)
HSLhsl(223, 70%, 26%)
HSVhsv(223, 82%, 44%)
CMYKcmyk(82.3%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.19, 17.11, -41.49)
CIE-LCHlch(21.19, 44.88, 292.41°)
OKLaboklab(32.68% -0.0115 -0.1198)
OKLCHoklch(32.68% 0.12 264.5)
XYZxyz(4.2451, 3.2945, 16.0317)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E71 #715714
analogous
#145C71 #142E71 #281471
triadic
#142E71 #71142E #2E7114
tetradic
#142E71 #71145C #715714 #147128
square
#142E71 #71145C #715714 #147128
split-complementary
#142E71 #712814 #5C7114
monochromatic
#050B1A #0B193D #142E71 #1D43A5 #2758D9

Accessibility & contrast

On white

12.66
#142E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#142E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E71
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E71#FFFFFF#000000##FFFFFF
##142E711.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003773
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #142e71;
/* rgb */ color: rgb(20, 46, 113);
/* oklch */ color: oklch(32.7% 0.120 264.5);
Tailwind
colors: {
  custom: {
    50: '#62669a',
    500: '#142e71',
    950: '#000000',
  },
}
SCSS
$custom: #142e71;
$custom-light: #62669a;
$custom-dark: #000000;
JSON
{
  "hex": "#142e71",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 223.226,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32678,
    "c": 0.12034,
    "h": 264.5
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#142E71
secondary
#A78939
accent
#BB3BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #142E71

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

Preview Lab → · Contrast checker → · Palette generator →

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