#142066#142066

#142066 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.123 H 269.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#142066
RGBrgb(20, 32, 102)
HSLhsl(231, 67%, 24%)
HSVhsv(231, 80%, 40%)
CMYKcmyk(80.4%, 68.6%, 0%, 60%)
CIE-LABlab(16.21, 22.66, -42.47)
CIE-LCHlch(16.21, 48.14, 298.08°)
OKLaboklab(28.66% -0.0017 -0.1228)
OKLCHoklch(28.66% 0.123 269.2)
XYZxyz(3.2025, 2.1407, 12.8122)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142066 #665A14
analogous
#144966 #142066 #311466
triadic
#142066 #661420 #206614
tetradic
#142066 #661449 #665A14 #146631
square
#142066 #661449 #665A14 #146631
split-complementary
#142066 #663114 #496614
monochromatic
#05081A #0A1033 #142066 #1E3099 #2840CC

Accessibility & contrast

On white

14.70
#142066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#142066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142066
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142066#FFFFFF#000000##FFFFFF
##1420661.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142066;
/* rgb */ color: rgb(20, 32, 102);
/* oklch */ color: oklch(28.7% 0.123 269.2);
Tailwind
colors: {
  custom: {
    50: '#615b92',
    500: '#142066',
    950: '#000000',
  },
}
SCSS
$custom: #142066;
$custom-light: #615b92;
$custom-dark: #000000;
JSON
{
  "hex": "#142066",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 231.22,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.12286,
    "h": 269.2
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#142066
secondary
#9D8E39
accent
#D13EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142066

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

Preview Lab → · Contrast checker → · Palette generator →

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