#142059#142059

#142059 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.103 H 269.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#142059
RGBrgb(20, 32, 89)
HSLhsl(230, 63%, 21%)
HSVhsv(230, 78%, 35%)
CMYKcmyk(77.5%, 64%, 0%, 65.1%)
CIE-LABlab(14.97, 17.32, -35.87)
CIE-LCHlch(14.97, 39.83, 295.77°)
OKLaboklab(27.36% -0.0013 -0.1035)
OKLCHoklch(27.36% 0.103 269.3)
XYZxyz(2.6076, 1.9027, 9.6791)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142059 #594D14
analogous
#144359 #142059 #2B1459
triadic
#142059 #591420 #205914
tetradic
#142059 #591443 #594D14 #14592B
square
#142059 #591443 #594D14 #14592B
split-complementary
#142059 #592B14 #435914
monochromatic
#060919 #090E27 #142059 #1F328B #2A44BD

Accessibility & contrast

On white

15.21
#142059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#142059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142059
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142059#FFFFFF#000000##FFFFFF
##1420591.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002358
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #142059;
/* rgb */ color: rgb(20, 32, 89);
/* oklch */ color: oklch(27.4% 0.103 269.3);
Tailwind
colors: {
  custom: {
    50: '#5d5b88',
    500: '#142059',
    950: '#000000',
  },
}
SCSS
$custom: #142059;
$custom-light: #5d5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#142059",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 229.565,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27364,
    "c": 0.10349,
    "h": 269.3
  },
  "luminance": 0.01903
}

Semantic roles & 50–950 ramp

primary
#142059
secondary
#918138
accent
#CA41E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #142059

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

Preview Lab → · Contrast checker → · Palette generator →

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