#142F5B#142F5B

#142F5B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.086 H 259.7°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#142F5B
RGBrgb(20, 47, 91)
HSLhsl(217, 64%, 22%)
HSVhsv(217, 78%, 36%)
CMYKcmyk(78%, 48.4%, 0%, 64.3%)
CIE-LABlab(19.79, 7.07, -29.41)
CIE-LCHlch(19.79, 30.24, 283.51°)
OKLaboklab(31.07% -0.0153 -0.0842)
OKLCHoklch(31.07% 0.086 259.7)
XYZxyz(3.1927, 2.9367, 10.2941)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F5B #5B4014
analogous
#14535B #142F5B #1D145B
triadic
#142F5B #5B142F #2F5B14
tetradic
#142F5B #5B1453 #5B4014 #145B1D
square
#142F5B #5B1453 #5B4014 #145B1D
split-complementary
#142F5B #5B1D14 #535B14
monochromatic
#060D19 #091529 #142F5B #1F498D #2A63BF

Accessibility & contrast

On white

13.23
#142F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F5B
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F5B#FFFFFF#000000##FFFFFF
##142F5B1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19335D
Deuteranopia (green-blind)
#0A2D5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142f5b;
/* rgb */ color: rgb(20, 47, 91);
/* oklch */ color: oklch(31.1% 0.086 259.7);
Tailwind
colors: {
  custom: {
    50: '#5c678a',
    500: '#142f5b',
    950: '#000000',
  },
}
SCSS
$custom: #142f5b;
$custom-light: #5c678a;
$custom-dark: #000000;
JSON
{
  "hex": "#142f5b",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 217.183,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31071,
    "c": 0.08559,
    "h": 259.7
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#142F5B
secondary
#937038
accent
#A841E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #142F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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