#141781#141781

#141781 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.169 H 269.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#141781
RGBrgb(20, 23, 129)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 51%)
CMYKcmyk(84.5%, 82.2%, 0%, 49.4%)
CIE-LABlab(17.21, 38.49, -58.26)
CIE-LCHlch(17.21, 69.83, 303.45°)
OKLaboklab(30.28% -0.0016 -0.1687)
OKLCHoklch(30.28% 0.169 269.5)
XYZxyz(4.5560, 2.3460, 20.9773)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141781 #817E14
analogous
#144E81 #141781 #481481
triadic
#141781 #811417 #178114
tetradic
#141781 #81144E #817E14 #148148
square
#141781 #81144E #817E14 #148148
split-complementary
#141781 #814814 #4E8114
monochromatic
#04051A #0C0E4C #141781 #1C20B6 #3035DF

Accessibility & contrast

On white

14.29
#141781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#141781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141781
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141781#FFFFFF#000000##FFFFFF
##1417811.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #141781;
/* rgb */ color: rgb(20, 23, 129);
/* oklch */ color: oklch(30.3% 0.169 269.5);
Tailwind
colors: {
  custom: {
    50: '#6956a7',
    500: '#141781',
    950: '#000000',
  },
}
SCSS
$custom: #141781;
$custom-light: #6956a7;
$custom-dark: #000000;
JSON
{
  "hex": "#141781",
  "rgb": {
    "r": 20,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 238.349,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30283,
    "c": 0.16874,
    "h": 269.5
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#141781
secondary
#B6B33B
accent
#EB38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #141781

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

Preview Lab → · Contrast checker → · Palette generator →

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