#142B5D#142B5D

#142B5D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.094 H 263.3°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#142B5D
RGBrgb(20, 43, 93)
HSLhsl(221, 65%, 22%)
HSVhsv(221, 78%, 36%)
CMYKcmyk(78.5%, 53.8%, 0%, 63.5%)
CIE-LABlab(18.66, 10.84, -32.55)
CIE-LCHlch(18.66, 34.31, 288.42°)
OKLaboklab(30.25% -0.011 -0.0935)
OKLCHoklch(30.25% 0.094 263.3)
XYZxyz(3.1274, 2.6665, 10.7037)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B5D #5D4614
analogous
#14505D #142B5D #22145D
triadic
#142B5D #5D142B #2B5D14
tetradic
#142B5D #5D1450 #5D4614 #145D22
square
#142B5D #5D1450 #5D4614 #145D22
split-complementary
#142B5D #5D2214 #505D14
monochromatic
#050C19 #09142B #142B5D #1F428F #2A5AC2

Accessibility & contrast

On white

13.70
#142B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142B5D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B5D#FFFFFF#000000##FFFFFF
##142B5D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D315F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142b5d;
/* rgb */ color: rgb(20, 43, 93);
/* oklch */ color: oklch(30.2% 0.094 263.3);
Tailwind
colors: {
  custom: {
    50: '#5d638b',
    500: '#142b5d',
    950: '#000000',
  },
}
SCSS
$custom: #142b5d;
$custom-light: #5d638b;
$custom-dark: #000000;
JSON
{
  "hex": "#142b5d",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 221.096,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30249,
    "c": 0.09419,
    "h": 263.3
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#142B5D
secondary
#957838
accent
#B340E8
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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