#142B7F#142B7F

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

Color values

HEX#142B7F
RGBrgb(20, 43, 127)
HSLhsl(227, 73%, 29%)
HSVhsv(227, 84%, 50%)
CMYKcmyk(84.3%, 66.1%, 0%, 50.2%)
CIE-LABlab(21.61, 25.01, -49.73)
CIE-LCHlch(21.61, 55.66, 296.70°)
OKLaboklab(33.39% -0.0093 -0.144)
OKLCHoklch(33.39% 0.144 266.3)
XYZxyz(4.9818, 3.4082, 20.4698)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B7F #7F6814
analogous
#14617F #142B7F #33147F
triadic
#142B7F #7F142B #2B7F14
tetradic
#142B7F #7F1461 #7F6814 #147F33
square
#142B7F #7F1461 #7F6814 #147F33
split-complementary
#142B7F #7F3314 #617F14
monochromatic
#04091A #0C194A #142B7F #1C3DB4 #2F55DE

Accessibility & contrast

On white

12.49
#142B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#142B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B7F
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B7F#FFFFFF#000000##FFFFFF
##142B7F1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #142b7f;
/* rgb */ color: rgb(20, 43, 127);
/* oklch */ color: oklch(33.4% 0.144 266.3);
Tailwind
colors: {
  custom: {
    50: '#6764a5',
    500: '#142b7f',
    950: '#000000',
  },
}
SCSS
$custom: #142b7f;
$custom-light: #6764a5;
$custom-dark: #000000;
JSON
{
  "hex": "#142b7f",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 227.103,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.14428,
    "h": 266.3
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#142B7F
secondary
#B49A3B
accent
#C838EF
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #142B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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