#142A60#142A60

#142A60 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.100 H 264.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#142A60
RGBrgb(20, 42, 96)
HSLhsl(223, 66%, 23%)
HSVhsv(223, 79%, 38%)
CMYKcmyk(79.2%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.58, 12.86, -34.66)
CIE-LCHlch(18.58, 36.97, 290.35°)
OKLaboklab(30.27% -0.0097 -0.0998)
OKLCHoklch(30.27% 0.1 264.5)
XYZxyz(3.2270, 2.6488, 11.4053)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A60 #604A14
analogous
#145060 #142A60 #241460
triadic
#142A60 #60142A #2A6014
tetradic
#142A60 #601450 #604A14 #146024
square
#142A60 #601450 #604A14 #146024
split-complementary
#142A60 #602414 #506014
monochromatic
#050B19 #09142D #142A60 #1F4093 #2956C5

Accessibility & contrast

On white

13.73
#142A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A60
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A60#FFFFFF#000000##FFFFFF
##142A601.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053162
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142a60;
/* rgb */ color: rgb(20, 42, 96);
/* oklch */ color: oklch(30.3% 0.100 264.5);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#142a60',
    950: '#000000',
  },
}
SCSS
$custom: #142a60;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#142a60",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 222.632,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30266,
    "c": 0.10024,
    "h": 264.5
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#142A60
secondary
#987C38
accent
#B83FE8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142A60

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

Preview Lab → · Contrast checker → · Palette generator →

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