#142863#142863

#142863 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.108 H 265.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#142863
RGBrgb(20, 40, 99)
HSLhsl(225, 66%, 23%)
HSVhsv(225, 80%, 39%)
CMYKcmyk(79.8%, 59.6%, 0%, 61.2%)
CIE-LABlab(18.22, 15.60, -37.22)
CIE-LCHlch(18.22, 40.36, 292.74°)
OKLaboklab(30.07% -0.0077 -0.1073)
OKLCHoklch(30.07% 0.108 265.9)
XYZxyz(3.2986, 2.5668, 12.1236)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142863 #634F14
analogous
#144F63 #142863 #271463
triadic
#142863 #631428 #286314
tetradic
#142863 #63144F #634F14 #146327
square
#142863 #63144F #634F14 #146327
split-complementary
#142863 #632714 #4F6314
monochromatic
#050A19 #0A1330 #142863 #1E3D96 #2951C9

Accessibility & contrast

On white

13.88
#142863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142863
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142863#FFFFFF#000000##FFFFFF
##1428631.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142863;
/* rgb */ color: rgb(20, 40, 99);
/* oklch */ color: oklch(30.1% 0.108 265.9);
Tailwind
colors: {
  custom: {
    50: '#5f6190',
    500: '#142863',
    950: '#000000',
  },
}
SCSS
$custom: #142863;
$custom-light: #5f6190;
$custom-dark: #000000;
JSON
{
  "hex": "#142863",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 99
  },
  "hsl": {
    "h": 224.81,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30071,
    "c": 0.10762,
    "h": 265.9
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#142863
secondary
#9A8238
accent
#BE3EE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142863

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

Preview Lab → · Contrast checker → · Palette generator →

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