#141C7F#141C7F

#141C7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.161 H 269.1°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#141C7F
RGBrgb(20, 28, 127)
HSLhsl(236, 73%, 29%)
HSVhsv(236, 84%, 50%)
CMYKcmyk(84.3%, 78%, 0%, 50.2%)
CIE-LABlab(17.97, 34.91, -55.73)
CIE-LCHlch(17.97, 65.76, 302.07°)
OKLaboklab(30.75% -0.0027 -0.1615)
OKLCHoklch(30.75% 0.161 269.1)
XYZxyz(4.5332, 2.5110, 20.3203)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141C7F #7F7714
analogous
#14527F #141C7F #42147F
triadic
#141C7F #7F141C #1C7F14
tetradic
#141C7F #7F1452 #7F7714 #147F42
square
#141C7F #7F1452 #7F7714 #147F42
split-complementary
#141C7F #7F4214 #527F14
monochromatic
#04061A #0C104A #141C7F #1C28B4 #2F3CDE

Accessibility & contrast

On white

13.98
#141C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#141C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141C7F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141C7F#FFFFFF#000000##FFFFFF
##141C7F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141c7f;
/* rgb */ color: rgb(20, 28, 127);
/* oklch */ color: oklch(30.7% 0.161 269.1);
Tailwind
colors: {
  custom: {
    50: '#6859a5',
    500: '#141c7f',
    950: '#000000',
  },
}
SCSS
$custom: #141c7f;
$custom-light: #6859a5;
$custom-dark: #000000;
JSON
{
  "hex": "#141c7f",
  "rgb": {
    "r": 20,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 235.514,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.16149,
    "h": 269.1
  },
  "luminance": 0.02512
}

Semantic roles & 50–950 ramp

primary
#141C7F
secondary
#B4AB3B
accent
#E238EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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