#142954#142954

#142954 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.083 H 262.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#142954
RGBrgb(20, 41, 84)
HSLhsl(220, 62%, 20%)
HSVhsv(220, 76%, 33%)
CMYKcmyk(76.2%, 51.2%, 0%, 67.1%)
CIE-LABlab(17.34, 8.49, -28.67)
CIE-LCHlch(17.34, 29.90, 286.50°)
OKLaboklab(29.03% -0.0104 -0.0821)
OKLCHoklch(29.03% 0.083 262.8)
XYZxyz(2.6811, 2.3744, 8.7028)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142954 #543F14
analogous
#144954 #142954 #1F1454
triadic
#142954 #541429 #295414
tetradic
#142954 #541449 #543F14 #14541F
square
#142954 #541449 #543F14 #14541F
split-complementary
#142954 #541F14 #495414
monochromatic
#060C19 #081123 #142954 #204185 #2C59B7

Accessibility & contrast

On white

14.24
#142954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#142954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142954
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142954#FFFFFF#000000##FFFFFF
##1429541.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#052853
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142954;
/* rgb */ color: rgb(20, 41, 84);
/* oklch */ color: oklch(29.0% 0.083 262.8);
Tailwind
colors: {
  custom: {
    50: '#5b6284',
    500: '#142954',
    950: '#000000',
  },
}
SCSS
$custom: #142954;
$custom-light: #5b6284;
$custom-dark: #000000;
JSON
{
  "hex": "#142954",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 220.313,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29027,
    "c": 0.08281,
    "h": 262.8
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#142954
secondary
#8C7038
accent
#B043E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142954

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

Preview Lab → · Contrast checker → · Palette generator →

#142954 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva