#142068#142068

#142068 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.9% C 0.126 H 269.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#142068
RGBrgb(20, 32, 104)
HSLhsl(231, 68%, 24%)
HSVhsv(231, 81%, 41%)
CMYKcmyk(80.8%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.41, 23.47, -43.46)
CIE-LCHlch(16.41, 49.39, 298.37°)
OKLaboklab(28.87% -0.0018 -0.1257)
OKLCHoklch(28.87% 0.126 269.2)
XYZxyz(3.3028, 2.1809, 13.3409)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142068 #685C14
analogous
#144A68 #142068 #321468
triadic
#142068 #681420 #206814
tetradic
#142068 #68144A #685C14 #146832
square
#142068 #68144A #685C14 #146832
split-complementary
#142068 #683214 #4A6814
monochromatic
#05081A #0A1035 #142068 #1E309B #2840CF

Accessibility & contrast

On white

14.62
#142068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142068
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142068#FFFFFF#000000##FFFFFF
##1420681.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142068;
/* rgb */ color: rgb(20, 32, 104);
/* oklch */ color: oklch(28.9% 0.126 269.2);
Tailwind
colors: {
  custom: {
    50: '#615b94',
    500: '#142068',
    950: '#000000',
  },
}
SCSS
$custom: #142068;
$custom-light: #615b94;
$custom-dark: #000000;
JSON
{
  "hex": "#142068",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 231.429,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28872,
    "c": 0.12575,
    "h": 269.2
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#142068
secondary
#9F9039
accent
#D23DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142068

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

Preview Lab → · Contrast checker → · Palette generator →

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