#142D5B#142D5B

#142D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.088 H 261.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#142D5B
RGBrgb(20, 45, 91)
HSLhsl(219, 64%, 22%)
HSVhsv(219, 78%, 36%)
CMYKcmyk(78%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.14, 8.52, -30.44)
CIE-LCHlch(19.14, 31.61, 285.64°)
OKLaboklab(30.57% -0.0133 -0.0873)
OKLCHoklch(30.57% 0.088 261.4)
XYZxyz(3.1145, 2.7805, 10.2680)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D5B #5B4214
analogous
#14515B #142D5B #1F145B
triadic
#142D5B #5B142D #2D5B14
tetradic
#142D5B #5B1451 #5B4214 #145B1F
square
#142D5B #5B1451 #5B4214 #145B1F
split-complementary
#142D5B #5B1F14 #515B14
monochromatic
#060C19 #091429 #142D5B #1F468D #2A5FBF

Accessibility & contrast

On white

13.49
#142D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#142D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D5B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D5B#FFFFFF#000000##FFFFFF
##142D5B1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d5b;
/* rgb */ color: rgb(20, 45, 91);
/* oklch */ color: oklch(30.6% 0.088 261.4);
Tailwind
colors: {
  custom: {
    50: '#5d658a',
    500: '#142d5b',
    950: '#000000',
  },
}
SCSS
$custom: #142d5b;
$custom-light: #5d658a;
$custom-dark: #000000;
JSON
{
  "hex": "#142d5b",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 218.873,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30574,
    "c": 0.0883,
    "h": 261.4
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#142D5B
secondary
#937338
accent
#AC41E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #142D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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