#141C7B#141C7B

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

Color values

HEX#141C7B
RGBrgb(20, 28, 123)
HSLhsl(235, 72%, 28%)
HSVhsv(235, 84%, 48%)
CMYKcmyk(83.7%, 77.2%, 0%, 51.8%)
CIE-LABlab(17.50, 33.45, -53.95)
CIE-LCHlch(17.50, 63.48, 301.80°)
OKLaboklab(30.28% -0.002 -0.1563)
OKLCHoklch(30.28% 0.156 269.3)
XYZxyz(4.2777, 2.4088, 18.9745)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141C7B #7B7314
analogous
#144F7B #141C7B #3F147B
triadic
#141C7B #7B141C #1C7B14
tetradic
#141C7B #7B144F #7B7314 #147B3F
square
#141C7B #7B144F #7B7314 #147B3F
split-complementary
#141C7B #7B3F14 #4F7B14
monochromatic
#04061A #0B1046 #141C7B #1D28B0 #2D3ADD

Accessibility & contrast

On white

14.17
#141C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141C7B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141C7B#FFFFFF#000000##FFFFFF
##141C7B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #141c7b;
/* rgb */ color: rgb(20, 28, 123);
/* oklch */ color: oklch(30.3% 0.156 269.3);
Tailwind
colors: {
  custom: {
    50: '#6759a2',
    500: '#141c7b',
    950: '#000000',
  },
}
SCSS
$custom: #141c7b;
$custom-light: #6759a2;
$custom-dark: #000000;
JSON
{
  "hex": "#141c7b",
  "rgb": {
    "r": 20,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 235.34,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.15632,
    "h": 269.3
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#141C7B
secondary
#B1A73A
accent
#E139EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #141C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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