#141F70#141F70

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

Color values

HEX#141F70
RGBrgb(20, 31, 112)
HSLhsl(233, 70%, 26%)
HSVhsv(233, 82%, 44%)
CMYKcmyk(82.1%, 72.3%, 0%, 56.1%)
CIE-LABlab(16.98, 27.33, -47.73)
CIE-LCHlch(16.98, 55.01, 299.80°)
OKLaboklab(29.54% -0.0019 -0.1382)
OKLCHoklch(29.54% 0.138 269.2)
XYZxyz(3.7021, 2.2981, 15.5746)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F70 #706514
analogous
#144D70 #141F70 #371470
triadic
#141F70 #70141F #1F7014
tetradic
#141F70 #70144D #706514 #147037
square
#141F70 #70144D #706514 #147037
split-complementary
#141F70 #703714 #4D7014
monochromatic
#05071A #0B113C #141F70 #1D2DA4 #273CD8

Accessibility & contrast

On white

14.39
#141F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F70
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F70#FFFFFF#000000##FFFFFF
##141F701.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #141f70;
/* rgb */ color: rgb(20, 31, 112);
/* oklch */ color: oklch(29.5% 0.138 269.2);
Tailwind
colors: {
  custom: {
    50: '#645b9a',
    500: '#141f70',
    950: '#000000',
  },
}
SCSS
$custom: #141f70;
$custom-light: #645b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#141f70",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 232.826,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29539,
    "c": 0.13824,
    "h": 269.2
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#141F70
secondary
#A69939
accent
#D73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #141F70

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

Preview Lab → · Contrast checker → · Palette generator →

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