#142A5B#142A5B

#142A5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.092 H 263.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#142A5B
RGBrgb(20, 42, 91)
HSLhsl(221, 64%, 22%)
HSVhsv(221, 78%, 36%)
CMYKcmyk(78%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.19, 10.73, -31.98)
CIE-LCHlch(18.19, 33.74, 288.55°)
OKLaboklab(29.84% -0.0103 -0.0919)
OKLCHoklch(29.84% 0.092 263.6)
XYZxyz(3.0041, 2.5597, 10.2312)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A5B #5B4514
analogous
#144E5B #142A5B #21145B
triadic
#142A5B #5B142A #2A5B14
tetradic
#142A5B #5B144E #5B4514 #145B21
square
#142A5B #5B144E #5B4514 #145B21
split-complementary
#142A5B #5B2114 #4E5B14
monochromatic
#060C19 #091329 #142A5B #1F418D #2A58BF

Accessibility & contrast

On white

13.89
#142A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A5B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A5B#FFFFFF#000000##FFFFFF
##142A5B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142a5b;
/* rgb */ color: rgb(20, 42, 91);
/* oklch */ color: oklch(29.8% 0.092 263.6);
Tailwind
colors: {
  custom: {
    50: '#5d638a',
    500: '#142a5b',
    950: '#000000',
  },
}
SCSS
$custom: #142a5b;
$custom-light: #5d638a;
$custom-dark: #000000;
JSON
{
  "hex": "#142a5b",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 221.408,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29842,
    "c": 0.09247,
    "h": 263.6
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#142A5B
secondary
#937738
accent
#B341E7
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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