#142D58#142D58

#142D58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.084 H 260.5°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#142D58
RGBrgb(20, 45, 88)
HSLhsl(218, 63%, 21%)
HSVhsv(218, 77%, 35%)
CMYKcmyk(77.3%, 48.9%, 0%, 65.5%)
CIE-LABlab(18.93, 7.25, -28.80)
CIE-LCHlch(18.93, 29.69, 284.13°)
OKLaboklab(30.34% -0.0138 -0.0825)
OKLCHoklch(30.34% 0.084 260.5)
XYZxyz(2.9877, 2.7298, 9.6001)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142D58 #583F14
analogous
#144F58 #142D58 #1D1458
triadic
#142D58 #58142D #2D5814
tetradic
#142D58 #58144F #583F14 #14581D
square
#142D58 #58144F #583F14 #14581D
split-complementary
#142D58 #581D14 #4F5814
monochromatic
#060D19 #091326 #142D58 #1F468A #2B60BC

Accessibility & contrast

On white

13.58
#142D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142D58
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142D58#FFFFFF#000000##FFFFFF
##142D581.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#0A2B57
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142d58;
/* rgb */ color: rgb(20, 45, 88);
/* oklch */ color: oklch(30.3% 0.084 260.5);
Tailwind
colors: {
  custom: {
    50: '#5c6587',
    500: '#142d58',
    950: '#000000',
  },
}
SCSS
$custom: #142d58;
$custom-light: #5c6587;
$custom-dark: #000000;
JSON
{
  "hex": "#142d58",
  "rgb": {
    "r": 20,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 217.941,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30339,
    "c": 0.08361,
    "h": 260.5
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#142D58
secondary
#907038
accent
#AA42E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #142D58

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

Preview Lab → · Contrast checker → · Palette generator →

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