#142359#142359

#142359 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.0% C 0.099 H 267.7°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#142359
RGBrgb(20, 35, 89)
HSLhsl(227, 63%, 21%)
HSVhsv(227, 78%, 35%)
CMYKcmyk(77.5%, 60.7%, 0%, 65.1%)
CIE-LABlab(15.86, 15.09, -34.42)
CIE-LCHlch(15.86, 37.58, 293.67°)
OKLaboklab(28.03% -0.004 -0.0992)
OKLCHoklch(28.03% 0.099 267.7)
XYZxyz(2.6921, 2.0718, 9.7073)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142359 #594A14
analogous
#144659 #142359 #281459
triadic
#142359 #591423 #235914
tetradic
#142359 #591446 #594A14 #145928
square
#142359 #591446 #594A14 #145928
split-complementary
#142359 #592814 #465914
monochromatic
#060A19 #090F27 #142359 #1F378B #2A4ABD

Accessibility & contrast

On white

14.85
#142359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142359
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142359#FFFFFF#000000##FFFFFF
##1423591.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002458
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142359;
/* rgb */ color: rgb(20, 35, 89);
/* oklch */ color: oklch(28.0% 0.099 267.7);
Tailwind
colors: {
  custom: {
    50: '#5d5d88',
    500: '#142359',
    950: '#000000',
  },
}
SCSS
$custom: #142359;
$custom-light: #5d5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#142359",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 89
  },
  "hsl": {
    "h": 226.957,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2803,
    "c": 0.09926,
    "h": 267.7
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#142359
secondary
#917E38
accent
#C241E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #142359

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

Preview Lab → · Contrast checker → · Palette generator →

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