#142E55#142E55

#142E55 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.078 H 258.4°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#142E55
RGBrgb(20, 46, 85)
HSLhsl(216, 62%, 21%)
HSVhsv(216, 76%, 33%)
CMYKcmyk(76.5%, 45.9%, 0%, 66.7%)
CIE-LABlab(19.05, 5.25, -26.60)
CIE-LCHlch(19.05, 27.11, 281.16°)
OKLaboklab(30.37% -0.0156 -0.076)
OKLCHoklch(30.37% 0.078 258.4)
XYZxyz(2.9046, 2.7583, 8.9719)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E55 #553B14
analogous
#144E55 #142E55 #1A1455
triadic
#142E55 #55142E #2E5514
tetradic
#142E55 #55144E #553B14 #14551A
square
#142E55 #55144E #553B14 #14551A
split-complementary
#142E55 #551A14 #4E5514
monochromatic
#060D19 #081323 #142E55 #204987 #2B64B8

Accessibility & contrast

On white

13.53
#142E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E55
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E55#FFFFFF#000000##FFFFFF
##142E551.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3157
Deuteranopia (green-blind)
#102B54
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142e55;
/* rgb */ color: rgb(20, 46, 85);
/* oklch */ color: oklch(30.4% 0.078 258.4);
Tailwind
colors: {
  custom: {
    50: '#5b6685',
    500: '#142e55',
    950: '#000000',
  },
}
SCSS
$custom: #142e55;
$custom-light: #5b6685;
$custom-dark: #000000;
JSON
{
  "hex": "#142e55",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 216,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30366,
    "c": 0.07757,
    "h": 258.4
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#142E55
secondary
#8D6B38
accent
#A443E5
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142E55

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

Preview Lab → · Contrast checker → · Palette generator →

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