#142163#142163

#142163 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.6% C 0.117 H 268.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#142163
RGBrgb(20, 33, 99)
HSLhsl(230, 66%, 23%)
HSVhsv(230, 80%, 39%)
CMYKcmyk(79.8%, 66.7%, 0%, 61.2%)
CIE-LABlab(16.19, 20.72, -40.53)
CIE-LCHlch(16.19, 45.52, 297.08°)
OKLaboklab(28.56% -0.0022 -0.1171)
OKLCHoklch(28.56% 0.117 268.9)
XYZxyz(3.0837, 2.1370, 12.0519)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142163 #635614
analogous
#144863 #142163 #2E1463
triadic
#142163 #631421 #216314
tetradic
#142163 #631448 #635614 #14632E
square
#142163 #631448 #635614 #14632E
split-complementary
#142163 #632E14 #486314
monochromatic
#050819 #0A1030 #142163 #1E3296 #2943C9

Accessibility & contrast

On white

14.71
#142163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142163
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142163#FFFFFF#000000##FFFFFF
##1421631.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142163;
/* rgb */ color: rgb(20, 33, 99);
/* oklch */ color: oklch(28.6% 0.117 268.9);
Tailwind
colors: {
  custom: {
    50: '#605c90',
    500: '#142163',
    950: '#000000',
  },
}
SCSS
$custom: #142163;
$custom-light: #605c90;
$custom-dark: #000000;
JSON
{
  "hex": "#142163",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 230.127,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2856,
    "c": 0.11717,
    "h": 268.9
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#142163
secondary
#9A8A38
accent
#CD3EE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #142163

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

Preview Lab → · Contrast checker → · Palette generator →

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