#142B81#142B81

#142B81 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.147 H 266.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#142B81
RGBrgb(20, 43, 129)
HSLhsl(227, 73%, 29%)
HSVhsv(227, 84%, 51%)
CMYKcmyk(84.5%, 66.7%, 0%, 49.4%)
CIE-LABlab(21.80, 25.81, -50.68)
CIE-LCHlch(21.80, 56.87, 296.99°)
OKLaboklab(33.59% -0.0093 -0.1467)
OKLCHoklch(33.59% 0.147 266.4)
XYZxyz(5.1134, 3.4608, 21.1631)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B81 #816A14
analogous
#146281 #142B81 #331481
triadic
#142B81 #81142B #2B8114
tetradic
#142B81 #811462 #816A14 #148133
square
#142B81 #811462 #816A14 #148133
split-complementary
#142B81 #813314 #628114
monochromatic
#04091A #0C194C #142B81 #1C3DB6 #3055DF

Accessibility & contrast

On white

12.41
#142B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B81
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B81#FFFFFF#000000##FFFFFF
##142B811.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#002F7F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142b81;
/* rgb */ color: rgb(20, 43, 129);
/* oklch */ color: oklch(33.6% 0.147 266.4);
Tailwind
colors: {
  custom: {
    50: '#6764a6',
    500: '#142b81',
    950: '#000000',
  },
}
SCSS
$custom: #142b81;
$custom-light: #6764a6;
$custom-dark: #000000;
JSON
{
  "hex": "#142b81",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 227.339,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33587,
    "c": 0.14705,
    "h": 266.4
  },
  "luminance": 0.03461
}

Semantic roles & 50–950 ramp

primary
#142B81
secondary
#B69C3B
accent
#C938F0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142B81

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

Preview Lab → · Contrast checker → · Palette generator →

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