#142E63#142E63

#142E63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.099 H 262.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#142E63
RGBrgb(20, 46, 99)
HSLhsl(220, 66%, 23%)
HSVhsv(220, 80%, 39%)
CMYKcmyk(79.8%, 53.5%, 0%, 61.2%)
CIE-LABlab(20.06, 11.20, -34.24)
CIE-LCHlch(20.06, 36.03, 288.10°)
OKLaboklab(31.47% -0.0129 -0.0985)
OKLCHoklch(31.47% 0.099 262.5)
XYZxyz(3.5168, 3.0032, 12.1963)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142E63 #634914
analogous
#145563 #142E63 #211463
triadic
#142E63 #63142E #2E6314
tetradic
#142E63 #631455 #634914 #146321
square
#142E63 #631455 #634914 #146321
split-complementary
#142E63 #632114 #556314
monochromatic
#050C19 #0A1630 #142E63 #1E4696 #295DC9

Accessibility & contrast

On white

13.12
#142E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142E63
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142E63#FFFFFF#000000##FFFFFF
##142E631.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142e63;
/* rgb */ color: rgb(20, 46, 99);
/* oklch */ color: oklch(31.5% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#5f6690',
    500: '#142e63',
    950: '#000000',
  },
}
SCSS
$custom: #142e63;
$custom-light: #5f6690;
$custom-dark: #000000;
JSON
{
  "hex": "#142e63",
  "rgb": {
    "r": 20,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 220.253,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31465,
    "c": 0.09931,
    "h": 262.5
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#142E63
secondary
#9A7A38
accent
#B13EE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #142E63

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

Preview Lab → · Contrast checker → · Palette generator →

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