#142864#142864

#142864 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.109 H 266.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#142864
RGBrgb(20, 40, 100)
HSLhsl(225, 67%, 24%)
HSVhsv(225, 80%, 39%)
CMYKcmyk(80%, 60%, 0%, 60.8%)
CIE-LABlab(18.30, 16.02, -37.74)
CIE-LCHlch(18.30, 41.00, 293.00°)
OKLaboklab(30.16% -0.0076 -0.1089)
OKLCHoklch(30.16% 0.109 266)
XYZxyz(3.3467, 2.5860, 12.3769)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142864 #645014
analogous
#145064 #142864 #281464
triadic
#142864 #641428 #286414
tetradic
#142864 #641450 #645014 #146428
square
#142864 #641450 #645014 #146428
split-complementary
#142864 #642814 #506414
monochromatic
#050A1A #0A1431 #142864 #1E3C97 #2851CA

Accessibility & contrast

On white

13.84
#142864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142864
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142864#FFFFFF#000000##FFFFFF
##1428641.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142864;
/* rgb */ color: rgb(20, 40, 100);
/* oklch */ color: oklch(30.2% 0.109 266.0);
Tailwind
colors: {
  custom: {
    50: '#5f6191',
    500: '#142864',
    950: '#000000',
  },
}
SCSS
$custom: #142864;
$custom-light: #5f6191;
$custom-dark: #000000;
JSON
{
  "hex": "#142864",
  "rgb": {
    "r": 20,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30162,
    "c": 0.10913,
    "h": 266
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#142864
secondary
#9B8338
accent
#BF3EEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #142864

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

Preview Lab → · Contrast checker → · Palette generator →

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