#142861#142861

#142861 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.105 H 265.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#142861
RGBrgb(20, 40, 97)
HSLhsl(224, 66%, 23%)
HSVhsv(224, 79%, 38%)
CMYKcmyk(79.4%, 58.8%, 0%, 62%)
CIE-LABlab(18.05, 14.76, -36.18)
CIE-LCHlch(18.05, 39.07, 292.19°)
OKLaboklab(29.89% -0.0078 -0.1043)
OKLCHoklch(29.89% 0.105 265.7)
XYZxyz(3.2042, 2.5290, 11.6262)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142861 #614D14
analogous
#144E61 #142861 #271461
triadic
#142861 #611428 #286114
tetradic
#142861 #61144E #614D14 #146127
square
#142861 #61144E #614D14 #146127
split-complementary
#142861 #612714 #4E6114
monochromatic
#050A19 #0A132E #142861 #1E3D94 #2952C6

Accessibility & contrast

On white

13.95
#142861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142861
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142861#FFFFFF#000000##FFFFFF
##1428611.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142861;
/* rgb */ color: rgb(20, 40, 97);
/* oklch */ color: oklch(29.9% 0.105 265.7);
Tailwind
colors: {
  custom: {
    50: '#5e618e',
    500: '#142861',
    950: '#000000',
  },
}
SCSS
$custom: #142861;
$custom-light: #5e618e;
$custom-dark: #000000;
JSON
{
  "hex": "#142861",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 97
  },
  "hsl": {
    "h": 224.416,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29891,
    "c": 0.10456,
    "h": 265.7
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#142861
secondary
#988038
accent
#BD3FE9
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #142861

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

Preview Lab → · Contrast checker → · Palette generator →

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