#142F60#142F60

#142F60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.093 H 261.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#142F60
RGBrgb(20, 47, 96)
HSLhsl(219, 66%, 23%)
HSVhsv(219, 79%, 38%)
CMYKcmyk(79.2%, 51%, 0%, 62.4%)
CIE-LABlab(20.15, 9.19, -32.13)
CIE-LCHlch(20.15, 33.42, 285.96°)
OKLaboklab(31.46% -0.0143 -0.0922)
OKLCHoklch(31.46% 0.093 261.2)
XYZxyz(3.4156, 3.0259, 11.4681)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F60 #604514
analogous
#145560 #142F60 #1F1460
triadic
#142F60 #60142F #2F6014
tetradic
#142F60 #601455 #604514 #14601F
square
#142F60 #601455 #604514 #14601F
split-complementary
#142F60 #601F14 #556014
monochromatic
#050C19 #09162D #142F60 #1F4893 #2961C5

Accessibility & contrast

On white

13.08
#142F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#142F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F60
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F60#FFFFFF#000000##FFFFFF
##142F601.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143462
Deuteranopia (green-blind)
#012D5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f60;
/* rgb */ color: rgb(20, 47, 96);
/* oklch */ color: oklch(31.5% 0.093 261.2);
Tailwind
colors: {
  custom: {
    50: '#5e678d',
    500: '#142f60',
    950: '#000000',
  },
}
SCSS
$custom: #142f60;
$custom-light: #5e678d;
$custom-dark: #000000;
JSON
{
  "hex": "#142f60",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 218.684,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31462,
    "c": 0.09333,
    "h": 261.2
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#142F60
secondary
#987638
accent
#AC3FE8
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #142F60

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

Preview Lab → · Contrast checker → · Palette generator →

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