#142671#142671

#142671 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.131 H 267.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#142671
RGBrgb(20, 38, 113)
HSLhsl(228, 70%, 26%)
HSVhsv(228, 82%, 44%)
CMYKcmyk(82.3%, 66.4%, 0%, 55.7%)
CIE-LABlab(18.91, 22.86, -45.20)
CIE-LCHlch(18.91, 50.66, 296.83°)
OKLaboklab(30.99% -0.006 -0.1308)
OKLCHoklch(30.99% 0.131 267.4)
XYZxyz(3.9612, 2.7267, 15.9371)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142671 #715F14
analogous
#145471 #142671 #301471
triadic
#142671 #711426 #267114
tetradic
#142671 #711454 #715F14 #147130
square
#142671 #711454 #715F14 #147130
split-complementary
#142671 #713014 #547114
monochromatic
#05091A #0B153D #142671 #1D37A5 #2749D9

Accessibility & contrast

On white

13.59
#142671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142671
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142671#FFFFFF#000000##FFFFFF
##1426711.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142671;
/* rgb */ color: rgb(20, 38, 113);
/* oklch */ color: oklch(31.0% 0.131 267.4);
Tailwind
colors: {
  custom: {
    50: '#63609b',
    500: '#142671',
    950: '#000000',
  },
}
SCSS
$custom: #142671;
$custom-light: #63609b;
$custom-dark: #000000;
JSON
{
  "hex": "#142671",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 228.387,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30985,
    "c": 0.13093,
    "h": 267.4
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#142671
secondary
#A79239
accent
#CA3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142671

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

Preview Lab → · Contrast checker → · Palette generator →

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