#141F71#141F71

#141F71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.140 H 269.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#141F71
RGBrgb(20, 31, 113)
HSLhsl(233, 70%, 26%)
HSVhsv(233, 82%, 44%)
CMYKcmyk(82.3%, 72.6%, 0%, 55.7%)
CIE-LABlab(17.09, 27.72, -48.21)
CIE-LCHlch(17.09, 55.61, 299.90°)
OKLaboklab(29.65% -0.002 -0.1396)
OKLCHoklch(29.65% 0.14 269.2)
XYZxyz(3.7581, 2.3205, 15.8694)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F71 #716614
analogous
#144D71 #141F71 #371471
triadic
#141F71 #71141F #1F7114
tetradic
#141F71 #71144D #716614 #147137
square
#141F71 #71144D #716614 #147137
split-complementary
#141F71 #713714 #4D7114
monochromatic
#05071A #0B113D #141F71 #1D2DA5 #273CD9

Accessibility & contrast

On white

14.34
#141F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#141F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F71
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F71#FFFFFF#000000##FFFFFF
##141F711.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #141f71;
/* rgb */ color: rgb(20, 31, 113);
/* oklch */ color: oklch(29.6% 0.140 269.2);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#141f71',
    950: '#000000',
  },
}
SCSS
$custom: #141f71;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#141f71",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 232.903,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29649,
    "c": 0.13962,
    "h": 269.2
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#141F71
secondary
#A79A39
accent
#D83BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #141F71

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

Preview Lab → · Contrast checker → · Palette generator →

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