#142C58#142C58

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

Color values

HEX#142C58
RGBrgb(20, 44, 88)
HSLhsl(219, 63%, 21%)
HSVhsv(219, 77%, 35%)
CMYKcmyk(77.3%, 50%, 0%, 65.5%)
CIE-LABlab(18.60, 7.98, -29.32)
CIE-LCHlch(18.60, 30.38, 285.23°)
OKLaboklab(30.09% -0.0128 -0.084)
OKLCHoklch(30.09% 0.085 261.3)
XYZxyz(2.9500, 2.6544, 9.5875)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142C58 #584014
analogous
#144E58 #142C58 #1E1458
triadic
#142C58 #58142C #2C5814
tetradic
#142C58 #58144E #584014 #14581E
square
#142C58 #58144E #584014 #14581E
split-complementary
#142C58 #581E14 #4E5814
monochromatic
#060C19 #091326 #142C58 #1F458A #2B5EBC

Accessibility & contrast

On white

13.72
#142C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142C58
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142C58#FFFFFF#000000##FFFFFF
##142C581.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#072A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142c58;
/* rgb */ color: rgb(20, 44, 88);
/* oklch */ color: oklch(30.1% 0.085 261.3);
Tailwind
colors: {
  custom: {
    50: '#5c6487',
    500: '#142c58',
    950: '#000000',
  },
}
SCSS
$custom: #142c58;
$custom-light: #5c6487;
$custom-dark: #000000;
JSON
{
  "hex": "#142c58",
  "rgb": {
    "r": 20,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 218.824,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30089,
    "c": 0.08498,
    "h": 261.3
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#142C58
secondary
#907138
accent
#AC42E6
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #142C58

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

Preview Lab → · Contrast checker → · Palette generator →

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