#142D59#142D59

#142D59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.085 H 260.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#142D59
RGBrgb(20, 45, 89)
HSLhsl(218, 63%, 21%)
HSVhsv(218, 78%, 35%)
CMYKcmyk(77.5%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.00, 7.67, -29.35)
CIE-LCHlch(19.00, 30.34, 284.66°)
OKLaboklab(30.42% -0.0136 -0.0841)
OKLCHoklch(30.42% 0.085 260.8)
XYZxyz(3.0294, 2.7464, 9.8197)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D59 #594014
analogous
#145059 #142D59 #1E1459
triadic
#142D59 #59142D #2D5914
tetradic
#142D59 #591450 #594014 #14591E
square
#142D59 #591450 #594014 #14591E
split-complementary
#142D59 #591E14 #505914
monochromatic
#060D19 #091427 #142D59 #1F468B #2A60BD

Accessibility & contrast

On white

13.55
#142D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142D59
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D59#FFFFFF#000000##FFFFFF
##142D591.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325B
Deuteranopia (green-blind)
#082B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d59;
/* rgb */ color: rgb(20, 45, 89);
/* oklch */ color: oklch(30.4% 0.085 260.8);
Tailwind
colors: {
  custom: {
    50: '#5c6588',
    500: '#142d59',
    950: '#000000',
  },
}
SCSS
$custom: #142d59;
$custom-light: #5c6588;
$custom-dark: #000000;
JSON
{
  "hex": "#142d59",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 218.261,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30417,
    "c": 0.08518,
    "h": 260.8
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#142D59
secondary
#917138
accent
#AB41E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D59

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

Preview Lab → · Contrast checker → · Palette generator →

#142D59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva