#141881#141881

#141881 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.168 H 269.4°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#141881
RGBrgb(20, 24, 129)
HSLhsl(238, 73%, 29%)
HSVhsv(238, 84%, 51%)
CMYKcmyk(84.5%, 81.4%, 0%, 49.4%)
CIE-LABlab(17.40, 37.95, -57.94)
CIE-LCHlch(17.40, 69.26, 303.22°)
OKLaboklab(30.42% -0.0019 -0.1678)
OKLCHoklch(30.42% 0.168 269.4)
XYZxyz(4.5762, 2.3864, 20.9841)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141881 #817D14
analogous
#144F81 #141881 #471481
triadic
#141881 #811418 #188114
tetradic
#141881 #81144F #817D14 #148147
square
#141881 #81144F #817D14 #148147
split-complementary
#141881 #814714 #4F8114
monochromatic
#04051A #0C0E4C #141881 #1C22B6 #3037DF

Accessibility & contrast

On white

14.21
#141881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#141881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141881
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141881#FFFFFF#000000##FFFFFF
##1418811.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141881;
/* rgb */ color: rgb(20, 24, 129);
/* oklch */ color: oklch(30.4% 0.168 269.4);
Tailwind
colors: {
  custom: {
    50: '#6957a7',
    500: '#141881',
    950: '#000000',
  },
}
SCSS
$custom: #141881;
$custom-light: #6957a7;
$custom-dark: #000000;
JSON
{
  "hex": "#141881",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 237.798,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.16785,
    "h": 269.4
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#141881
secondary
#B6B23B
accent
#E938F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #141881

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

Preview Lab → · Contrast checker → · Palette generator →

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