#142165#142165

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

Color values

HEX#142165
RGBrgb(20, 33, 101)
HSLhsl(230, 67%, 24%)
HSVhsv(230, 80%, 40%)
CMYKcmyk(80.2%, 67.3%, 0%, 60.4%)
CIE-LABlab(16.38, 21.54, -41.53)
CIE-LCHlch(16.38, 46.78, 297.41°)
OKLaboklab(28.76% -0.0023 -0.1201)
OKLCHoklch(28.76% 0.12 268.9)
XYZxyz(3.1805, 2.1757, 12.5617)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142165 #655814
analogous
#144965 #142165 #2F1465
triadic
#142165 #651421 #216514
tetradic
#142165 #651449 #655814 #14652F
square
#142165 #651449 #655814 #14652F
split-complementary
#142165 #652F14 #496514
monochromatic
#05081A #0A1032 #142165 #1E3298 #2842CB

Accessibility & contrast

On white

14.63
#142165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142165
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142165#FFFFFF#000000##FFFFFF
##1421651.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142165;
/* rgb */ color: rgb(20, 33, 101);
/* oklch */ color: oklch(28.8% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#605c92',
    500: '#142165',
    950: '#000000',
  },
}
SCSS
$custom: #142165;
$custom-light: #605c92;
$custom-dark: #000000;
JSON
{
  "hex": "#142165",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 230.37,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28762,
    "c": 0.1201,
    "h": 268.9
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#142165
secondary
#9C8C39
accent
#CE3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142165

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

Preview Lab → · Contrast checker → · Palette generator →

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