#141F81#141F81

#141F81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.161 H 268.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#141F81
RGBrgb(20, 31, 129)
HSLhsl(234, 73%, 29%)
HSVhsv(234, 84%, 51%)
CMYKcmyk(84.5%, 76%, 0%, 49.4%)
CIE-LABlab(18.86, 33.79, -55.53)
CIE-LCHlch(18.86, 65.00, 301.33°)
OKLaboklab(31.45% -0.004 -0.1609)
OKLCHoklch(31.45% 0.161 268.6)
XYZxyz(4.7396, 2.7131, 21.0385)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F81 #817614
analogous
#145681 #141F81 #401481
triadic
#141F81 #81141F #1F8114
tetradic
#141F81 #811456 #817614 #148140
square
#141F81 #811456 #817614 #148140
split-complementary
#141F81 #814014 #568114
monochromatic
#04061A #0C124C #141F81 #1C2CB6 #3042DF

Accessibility & contrast

On white

13.61
#141F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#141F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F81
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F81#FFFFFF#000000##FFFFFF
##141F811.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #141f81;
/* rgb */ color: rgb(20, 31, 129);
/* oklch */ color: oklch(31.4% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#695ba7',
    500: '#141f81',
    950: '#000000',
  },
}
SCSS
$custom: #141f81;
$custom-light: #695ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#141f81",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 233.945,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.16096,
    "h": 268.6
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#141F81
secondary
#B6AA3B
accent
#DD38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #141F81

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

Preview Lab → · Contrast checker → · Palette generator →

#141F81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva