#142563#142563

#142563 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.4% C 0.112 H 267.3°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#142563
RGBrgb(20, 37, 99)
HSLhsl(227, 66%, 23%)
HSVhsv(227, 80%, 39%)
CMYKcmyk(79.8%, 62.6%, 0%, 61.2%)
CIE-LABlab(17.33, 17.80, -38.66)
CIE-LCHlch(17.33, 42.57, 294.73°)
OKLaboklab(29.41% -0.0053 -0.1116)
OKLCHoklch(29.41% 0.112 267.3)
XYZxyz(3.2014, 2.3724, 12.0911)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142563 #635214
analogous
#144C63 #142563 #2A1463
triadic
#142563 #631425 #256314
tetradic
#142563 #63144C #635214 #14632A
square
#142563 #63144C #635214 #14632A
split-complementary
#142563 #632A14 #4C6314
monochromatic
#050A19 #0A1230 #142563 #1E3896 #294BC9

Accessibility & contrast

On white

14.24
#142563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142563
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142563#FFFFFF#000000##FFFFFF
##1425631.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #142563;
/* rgb */ color: rgb(20, 37, 99);
/* oklch */ color: oklch(29.4% 0.112 267.3);
Tailwind
colors: {
  custom: {
    50: '#5f5f90',
    500: '#142563',
    950: '#000000',
  },
}
SCSS
$custom: #142563;
$custom-light: #5f5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#142563",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 227.089,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.11175,
    "h": 267.3
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#142563
secondary
#9A8538
accent
#C53EE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #142563

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

Preview Lab → · Contrast checker → · Palette generator →

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