#141981#141981

#141981 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 269.3°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#141981
RGBrgb(20, 25, 129)
HSLhsl(237, 73%, 29%)
HSVhsv(237, 84%, 51%)
CMYKcmyk(84.5%, 80.6%, 0%, 49.4%)
CIE-LABlab(17.59, 37.38, -57.62)
CIE-LCHlch(17.59, 68.69, 302.97°)
OKLaboklab(30.55% -0.0021 -0.1669)
OKLCHoklch(30.55% 0.167 269.3)
XYZxyz(4.5972, 2.4284, 20.9911)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141981 #817C14
analogous
#145081 #141981 #461481
triadic
#141981 #811419 #198114
tetradic
#141981 #811450 #817C14 #148146
square
#141981 #811450 #817C14 #148146
split-complementary
#141981 #814614 #508114
monochromatic
#04051A #0C0F4C #141981 #1C23B6 #3038DF

Accessibility & contrast

On white

14.13
#141981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#141981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141981
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141981#FFFFFF#000000##FFFFFF
##1419811.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141981;
/* rgb */ color: rgb(20, 25, 129);
/* oklch */ color: oklch(30.6% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#6958a7',
    500: '#141981',
    950: '#000000',
  },
}
SCSS
$custom: #141981;
$custom-light: #6958a7;
$custom-dark: #000000;
JSON
{
  "hex": "#141981",
  "rgb": {
    "r": 20,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 237.248,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30552,
    "c": 0.16693,
    "h": 269.3
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#141981
secondary
#B6B03B
accent
#E738F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #141981

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

Preview Lab → · Contrast checker → · Palette generator →

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