#142168#142168

#142168 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.124 H 268.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#142168
RGBrgb(20, 33, 104)
HSLhsl(231, 68%, 24%)
HSVhsv(231, 81%, 41%)
CMYKcmyk(80.8%, 68.3%, 0%, 59.2%)
CIE-LABlab(16.68, 22.76, -43.02)
CIE-LCHlch(16.68, 48.67, 297.88°)
OKLaboklab(29.07% -0.0025 -0.1244)
OKLCHoklch(29.07% 0.124 268.9)
XYZxyz(3.3302, 2.2355, 13.3500)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142168 #685B14
analogous
#144B68 #142168 #311468
triadic
#142168 #681421 #216814
tetradic
#142168 #68144B #685B14 #146831
square
#142168 #68144B #685B14 #146831
split-complementary
#142168 #683114 #4B6814
monochromatic
#05081A #0A1135 #142168 #1E319B #2842CF

Accessibility & contrast

On white

14.51
#142168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142168
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142168#FFFFFF#000000##FFFFFF
##1421681.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142168;
/* rgb */ color: rgb(20, 33, 104);
/* oklch */ color: oklch(29.1% 0.124 268.9);
Tailwind
colors: {
  custom: {
    50: '#615c94',
    500: '#142168',
    950: '#000000',
  },
}
SCSS
$custom: #142168;
$custom-light: #615c94;
$custom-dark: #000000;
JSON
{
  "hex": "#142168",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 230.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29069,
    "c": 0.12446,
    "h": 268.9
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#142168
secondary
#9F8F39
accent
#D03DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142168

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

Preview Lab → · Contrast checker → · Palette generator →

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