#142471#142471

#142471 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.133 H 267.9°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#142471
RGBrgb(20, 36, 113)
HSLhsl(230, 70%, 26%)
HSVhsv(230, 82%, 44%)
CMYKcmyk(82.3%, 68.1%, 0%, 55.7%)
CIE-LABlab(18.38, 24.27, -46.09)
CIE-LCHlch(18.38, 52.09, 297.77°)
OKLaboklab(30.59% -0.0048 -0.1334)
OKLCHoklch(30.59% 0.133 267.9)
XYZxyz(3.8990, 2.6023, 15.9164)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142471 #716114
analogous
#145271 #142471 #321471
triadic
#142471 #711424 #247114
tetradic
#142471 #711452 #716114 #147132
square
#142471 #711452 #716114 #147132
split-complementary
#142471 #713214 #527114
monochromatic
#05081A #0B133D #142471 #1D35A5 #2745D9

Accessibility & contrast

On white

13.81
#142471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#142471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142471
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142471#FFFFFF#000000##FFFFFF
##1424711.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142471;
/* rgb */ color: rgb(20, 36, 113);
/* oklch */ color: oklch(30.6% 0.133 267.9);
Tailwind
colors: {
  custom: {
    50: '#635e9b',
    500: '#142471',
    950: '#000000',
  },
}
SCSS
$custom: #142471;
$custom-light: #635e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#142471",
  "rgb": {
    "r": 20,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 229.677,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30588,
    "c": 0.13349,
    "h": 267.9
  },
  "luminance": 0.02603
}

Semantic roles & 50–950 ramp

primary
#142471
secondary
#A79439
accent
#CE3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142471

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

Preview Lab → · Contrast checker → · Palette generator →

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