#142B5A#142B5A

#142B5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.090 H 262.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#142B5A
RGBrgb(20, 43, 90)
HSLhsl(220, 64%, 22%)
HSVhsv(220, 78%, 35%)
CMYKcmyk(77.8%, 52.2%, 0%, 64.7%)
CIE-LABlab(18.43, 9.57, -30.93)
CIE-LCHlch(18.43, 32.38, 287.19°)
OKLaboklab(30% -0.0114 -0.0888)
OKLCHoklch(30% 0.09 262.7)
XYZxyz(2.9972, 2.6143, 10.0175)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B5A #5A4314
analogous
#144E5A #142B5A #20145A
triadic
#142B5A #5A142B #2B5A14
tetradic
#142B5A #5A144E #5A4314 #145A20
square
#142B5A #5A144E #5A4314 #145A20
split-complementary
#142B5A #5A2014 #4E5A14
monochromatic
#060C19 #091328 #142B5A #1F438C #2A5BBE

Accessibility & contrast

On white

13.79
#142B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B5A
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B5A#FFFFFF#000000##FFFFFF
##142B5A1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11305C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142b5a;
/* rgb */ color: rgb(20, 43, 90);
/* oklch */ color: oklch(30.0% 0.090 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c6389',
    500: '#142b5a',
    950: '#000000',
  },
}
SCSS
$custom: #142b5a;
$custom-light: #5c6389;
$custom-dark: #000000;
JSON
{
  "hex": "#142b5a",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 220.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30003,
    "c": 0.08951,
    "h": 262.7
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#142B5A
secondary
#927438
accent
#B041E7
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #142B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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