#142B5B#142B5B

#142B5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.091 H 262.9°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#142B5B
RGBrgb(20, 43, 91)
HSLhsl(221, 64%, 22%)
HSVhsv(221, 78%, 36%)
CMYKcmyk(78%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.50, 9.99, -31.47)
CIE-LCHlch(18.50, 33.02, 287.62°)
OKLaboklab(30.08% -0.0113 -0.0904)
OKLCHoklch(30.08% 0.091 262.9)
XYZxyz(3.0400, 2.6315, 10.2432)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B5B #5B4414
analogous
#144F5B #142B5B #20145B
triadic
#142B5B #5B142B #2B5B14
tetradic
#142B5B #5B144F #5B4414 #145B20
square
#142B5B #5B144F #5B4414 #145B20
split-complementary
#142B5B #5B2014 #4F5B14
monochromatic
#060C19 #091329 #142B5B #1F438D #2A5ABF

Accessibility & contrast

On white

13.76
#142B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B5B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B5B#FFFFFF#000000##FFFFFF
##142B5B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142b5b;
/* rgb */ color: rgb(20, 43, 91);
/* oklch */ color: oklch(30.1% 0.091 262.9);
Tailwind
colors: {
  custom: {
    50: '#5d638a',
    500: '#142b5b',
    950: '#000000',
  },
}
SCSS
$custom: #142b5b;
$custom-light: #5d638a;
$custom-dark: #000000;
JSON
{
  "hex": "#142b5b",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 220.563,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30084,
    "c": 0.09107,
    "h": 262.9
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#142B5B
secondary
#937538
accent
#B141E7
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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