#141E7F#141E7F

#141E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.159 H 268.8°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#141E7F
RGBrgb(20, 30, 127)
HSLhsl(234, 73%, 29%)
HSVhsv(234, 84%, 50%)
CMYKcmyk(84.3%, 76.4%, 0%, 50.2%)
CIE-LABlab(18.40, 33.68, -55.01)
CIE-LCHlch(18.40, 64.50, 301.48°)
OKLaboklab(31.06% -0.0033 -0.1594)
OKLCHoklch(31.06% 0.159 268.8)
XYZxyz(4.5822, 2.6090, 20.3366)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141E7F #7F7514
analogous
#14547F #141E7F #40147F
triadic
#141E7F #7F141E #1E7F14
tetradic
#141E7F #7F1454 #7F7514 #147F40
square
#141E7F #7F1454 #7F7514 #147F40
split-complementary
#141E7F #7F4014 #547F14
monochromatic
#04061A #0C124A #141E7F #1C2AB4 #2F40DE

Accessibility & contrast

On white

13.80
#141E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#141E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141E7F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141E7F#FFFFFF#000000##FFFFFF
##141E7F1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #141e7f;
/* rgb */ color: rgb(20, 30, 127);
/* oklch */ color: oklch(31.1% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#685ba5',
    500: '#141e7f',
    950: '#000000',
  },
}
SCSS
$custom: #141e7f;
$custom-light: #685ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#141e7f",
  "rgb": {
    "r": 20,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 234.393,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.15943,
    "h": 268.8
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#141E7F
secondary
#B4A93B
accent
#DE38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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