#141F72#141F72

#141F72 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.141 H 269.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#141F72
RGBrgb(20, 31, 114)
HSLhsl(233, 70%, 26%)
HSVhsv(233, 82%, 45%)
CMYKcmyk(82.5%, 72.8%, 0%, 55.3%)
CIE-LABlab(17.19, 28.11, -48.68)
CIE-LCHlch(17.19, 56.21, 300.01°)
OKLaboklab(29.76% -0.0021 -0.141)
OKLCHoklch(29.76% 0.141 269.1)
XYZxyz(3.8147, 2.3432, 16.1676)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F72 #726714
analogous
#144E72 #141F72 #381472
triadic
#141F72 #72141F #1F7214
tetradic
#141F72 #72144E #726714 #147238
square
#141F72 #72144E #726714 #147238
split-complementary
#141F72 #723814 #4E7214
monochromatic
#05071A #0B113E #141F72 #1D2DA6 #273CD9

Accessibility & contrast

On white

14.30
#141F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#141F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F72
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F72#FFFFFF#000000##FFFFFF
##141F721.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141f72;
/* rgb */ color: rgb(20, 31, 114);
/* oklch */ color: oklch(29.8% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#141f72',
    950: '#000000',
  },
}
SCSS
$custom: #141f72;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#141f72",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 232.979,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29758,
    "c": 0.141,
    "h": 269.1
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #141F72

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

Preview Lab → · Contrast checker → · Palette generator →

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