#141871#141871

#141871 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.147 H 270.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#141871
RGBrgb(20, 24, 113)
HSLhsl(237, 70%, 26%)
HSVhsv(237, 82%, 44%)
CMYKcmyk(82.3%, 78.8%, 0%, 55.7%)
CIE-LABlab(15.45, 32.25, -50.90)
CIE-LCHlch(15.45, 60.26, 302.36°)
OKLaboklab(28.48% 0.0011 -0.1474)
OKLCHoklch(28.48% 0.147 270.4)
XYZxyz(3.5947, 1.9938, 15.8150)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141871 #716D14
analogous
#144671 #141871 #3E1471
triadic
#141871 #711418 #187114
tetradic
#141871 #711446 #716D14 #14713E
square
#141871 #711446 #716D14 #14713E
split-complementary
#141871 #713E14 #467114
monochromatic
#05061A #0B0D3D #141871 #1D23A5 #272ED9

Accessibility & contrast

On white

15.01
#141871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#141871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141871
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141871#FFFFFF#000000##FFFFFF
##1418711.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #141871;
/* rgb */ color: rgb(20, 24, 113);
/* oklch */ color: oklch(28.5% 0.147 270.4);
Tailwind
colors: {
  custom: {
    50: '#65569b',
    500: '#141871',
    950: '#000000',
  },
}
SCSS
$custom: #141871;
$custom-light: #65569b;
$custom-dark: #000000;
JSON
{
  "hex": "#141871",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 237.419,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28479,
    "c": 0.14741,
    "h": 270.4
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#141871
secondary
#A7A339
accent
#E53BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #141871

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

Preview Lab → · Contrast checker → · Palette generator →

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