#141A7F#141A7F

#141A7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.163 H 269.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#141A7F
RGBrgb(20, 26, 127)
HSLhsl(237, 73%, 29%)
HSVhsv(237, 84%, 50%)
CMYKcmyk(84.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(17.55, 36.10, -56.42)
CIE-LCHlch(17.55, 66.98, 302.61°)
OKLaboklab(30.45% -0.002 -0.1635)
OKLCHoklch(30.45% 0.163 269.3)
XYZxyz(4.4873, 2.4193, 20.3050)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141A7F #7F7914
analogous
#14507F #141A7F #44147F
triadic
#141A7F #7F141A #1A7F14
tetradic
#141A7F #7F1450 #7F7914 #147F44
square
#141A7F #7F1450 #7F7914 #147F44
split-complementary
#141A7F #7F4414 #507F14
monochromatic
#04051A #0C0F4A #141A7F #1C25B4 #2F39DE

Accessibility & contrast

On white

14.15
#141A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141A7F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141A7F#FFFFFF#000000##FFFFFF
##141A7F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141a7f;
/* rgb */ color: rgb(20, 26, 127);
/* oklch */ color: oklch(30.5% 0.163 269.3);
Tailwind
colors: {
  custom: {
    50: '#6858a5',
    500: '#141a7f',
    950: '#000000',
  },
}
SCSS
$custom: #141a7f;
$custom-light: #6858a5;
$custom-dark: #000000;
JSON
{
  "hex": "#141a7f",
  "rgb": {
    "r": 20,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 236.636,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30452,
    "c": 0.16346,
    "h": 269.3
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#141A7F
secondary
#B4AD3B
accent
#E538EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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