#142355#142355

#142355 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.093 H 267.4°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#142355
RGBrgb(20, 35, 85)
HSLhsl(226, 62%, 21%)
HSVhsv(226, 76%, 33%)
CMYKcmyk(76.5%, 58.8%, 0%, 66.7%)
CIE-LABlab(15.52, 13.40, -32.28)
CIE-LCHlch(15.52, 34.95, 292.54°)
OKLaboklab(27.67% -0.0042 -0.0929)
OKLCHoklch(27.67% 0.093 267.4)
XYZxyz(2.5286, 2.0064, 8.8466)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142355 #554614
analogous
#144355 #142355 #251455
triadic
#142355 #551423 #235514
tetradic
#142355 #551443 #554614 #145525
square
#142355 #551443 #554614 #145525
split-complementary
#142355 #552514 #435514
monochromatic
#060A19 #080F23 #142355 #203787 #2B4CB8

Accessibility & contrast

On white

14.99
#142355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142355
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142355#FFFFFF#000000##FFFFFF
##1423551.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142355;
/* rgb */ color: rgb(20, 35, 85);
/* oklch */ color: oklch(27.7% 0.093 267.4);
Tailwind
colors: {
  custom: {
    50: '#5c5d85',
    500: '#142355',
    950: '#000000',
  },
}
SCSS
$custom: #142355;
$custom-light: #5c5d85;
$custom-dark: #000000;
JSON
{
  "hex": "#142355",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 85
  },
  "hsl": {
    "h": 226.154,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27668,
    "c": 0.09299,
    "h": 267.4
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#142355
secondary
#8D7938
accent
#C043E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #142355

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

Preview Lab → · Contrast checker → · Palette generator →

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