#142354#142354

#142354 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.091 H 267.3°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#142354
RGBrgb(20, 35, 84)
HSLhsl(226, 62%, 20%)
HSVhsv(226, 76%, 33%)
CMYKcmyk(76.2%, 58.3%, 0%, 67.1%)
CIE-LABlab(15.44, 12.98, -31.74)
CIE-LCHlch(15.44, 34.29, 292.24°)
OKLaboklab(27.58% -0.0043 -0.0913)
OKLCHoklch(27.58% 0.091 267.3)
XYZxyz(2.4892, 1.9906, 8.6388)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142354 #544514
analogous
#144354 #142354 #251454
triadic
#142354 #541423 #235414
tetradic
#142354 #541443 #544514 #145425
square
#142354 #541443 #544514 #145425
split-complementary
#142354 #542514 #435414
monochromatic
#060A19 #080E23 #142354 #203885 #2C4CB7

Accessibility & contrast

On white

15.02
#142354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#142354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142354
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142354#FFFFFF#000000##FFFFFF
##1423541.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A56
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142354;
/* rgb */ color: rgb(20, 35, 84);
/* oklch */ color: oklch(27.6% 0.091 267.3);
Tailwind
colors: {
  custom: {
    50: '#5b5d84',
    500: '#142354',
    950: '#000000',
  },
}
SCSS
$custom: #142354;
$custom-light: #5b5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#142354",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 84
  },
  "hsl": {
    "h": 225.938,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27579,
    "c": 0.0914,
    "h": 267.3
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#142354
secondary
#8C7838
accent
#BF43E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142354

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

Preview Lab → · Contrast checker → · Palette generator →

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