#142167#142167

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

Color values

HEX#142167
RGBrgb(20, 33, 103)
HSLhsl(231, 67%, 24%)
HSVhsv(231, 81%, 40%)
CMYKcmyk(80.6%, 68%, 0%, 59.6%)
CIE-LABlab(16.58, 22.35, -42.52)
CIE-LCHlch(16.58, 48.04, 297.73°)
OKLaboklab(28.97% -0.0024 -0.123)
OKLCHoklch(28.97% 0.123 268.9)
XYZxyz(3.2797, 2.2153, 13.0841)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142167 #675A14
analogous
#144B67 #142167 #311467
triadic
#142167 #671421 #216714
tetradic
#142167 #67144B #675A14 #146731
square
#142167 #67144B #675A14 #146731
split-complementary
#142167 #673114 #4B6714
monochromatic
#05081A #0A1134 #142167 #1E319A #2842CD

Accessibility & contrast

On white

14.55
#142167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142167
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142167#FFFFFF#000000##FFFFFF
##1421671.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003340
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142167;
/* rgb */ color: rgb(20, 33, 103);
/* oklch */ color: oklch(29.0% 0.123 268.9);
Tailwind
colors: {
  custom: {
    50: '#615c93',
    500: '#142167',
    950: '#000000',
  },
}
SCSS
$custom: #142167;
$custom-light: #615c93;
$custom-dark: #000000;
JSON
{
  "hex": "#142167",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 230.602,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28966,
    "c": 0.12301,
    "h": 268.9
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#142167
secondary
#9E8E39
accent
#CF3DEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142167

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

Preview Lab → · Contrast checker → · Palette generator →

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