#142B80#142B80

#142B80 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.146 H 266.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#142B80
RGBrgb(20, 43, 128)
HSLhsl(227, 73%, 29%)
HSVhsv(227, 84%, 50%)
CMYKcmyk(84.4%, 66.4%, 0%, 49.8%)
CIE-LABlab(21.71, 25.41, -50.20)
CIE-LCHlch(21.71, 56.27, 296.85°)
OKLaboklab(33.49% -0.0093 -0.1454)
OKLCHoklch(33.49% 0.146 266.3)
XYZxyz(5.0473, 3.4344, 20.8148)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B80 #806914
analogous
#146180 #142B80 #331480
triadic
#142B80 #80142B #2B8014
tetradic
#142B80 #801461 #806914 #148033
square
#142B80 #801461 #806914 #148033
split-complementary
#142B80 #803314 #618014
monochromatic
#04091A #0C194B #142B80 #1C3DB5 #3055DF

Accessibility & contrast

On white

12.45
#142B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#142B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B80
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B80#FFFFFF#000000##FFFFFF
##142B801.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142b80;
/* rgb */ color: rgb(20, 43, 128);
/* oklch */ color: oklch(33.5% 0.146 266.3);
Tailwind
colors: {
  custom: {
    50: '#6764a6',
    500: '#142b80',
    950: '#000000',
  },
}
SCSS
$custom: #142b80;
$custom-light: #6764a6;
$custom-dark: #000000;
JSON
{
  "hex": "#142b80",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 227.222,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33486,
    "c": 0.14567,
    "h": 266.3
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#142B80
secondary
#B59B3B
accent
#C938F0
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142B80

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

Preview Lab → · Contrast checker → · Palette generator →

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