#141F74#141F74

#141F74 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.144 H 269.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#141F74
RGBrgb(20, 31, 116)
HSLhsl(233, 71%, 27%)
HSVhsv(233, 83%, 45%)
CMYKcmyk(82.8%, 73.3%, 0%, 54.5%)
CIE-LABlab(17.41, 28.89, -49.61)
CIE-LCHlch(17.41, 57.41, 300.21°)
OKLaboklab(29.98% -0.0023 -0.1437)
OKLCHoklch(29.98% 0.144 269.1)
XYZxyz(3.9298, 2.3892, 16.7737)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F74 #746914
analogous
#144F74 #141F74 #391474
triadic
#141F74 #74141F #1F7414
tetradic
#141F74 #74144F #746914 #147439
square
#141F74 #74144F #746914 #147439
split-complementary
#141F74 #743914 #4F7414
monochromatic
#05071A #0B1140 #141F74 #1D2DA8 #283DDA

Accessibility & contrast

On white

14.21
#141F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#141F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F74
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F74#FFFFFF#000000##FFFFFF
##141F741.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141f74;
/* rgb */ color: rgb(20, 31, 116);
/* oklch */ color: oklch(30.0% 0.144 269.1);
Tailwind
colors: {
  custom: {
    50: '#655b9d',
    500: '#141f74',
    950: '#000000',
  },
}
SCSS
$custom: #141f74;
$custom-light: #655b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#141f74",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 233.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29979,
    "c": 0.14372,
    "h": 269.1
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#141F74
secondary
#AA9D3A
accent
#D93AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #141F74

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

Preview Lab → · Contrast checker → · Palette generator →

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