#141B40#141B40

#141B40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.9% C 0.071 H 272.0°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#141B40
RGBrgb(20, 27, 64)
HSLhsl(230, 52%, 16%)
HSVhsv(230, 69%, 25%)
CMYKcmyk(68.8%, 57.8%, 0%, 74.9%)
CIE-LABlab(11.29, 10.65, -24.64)
CIE-LCHlch(11.29, 26.84, 293.37°)
OKLaboklab(23.93% 0.0024 -0.0705)
OKLCHoklch(23.93% 0.071 272)
XYZxyz(1.6055, 1.3026, 5.0163)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B40 #403914
analogous
#143140 #141B40 #231440
triadic
#141B40 #40141B #1B4014
tetradic
#141B40 #401431 #403914 #144023
square
#141B40 #401431 #403914 #144023
split-complementary
#141B40 #402314 #314014
monochromatic
#070A17 #070A17 #141B40 #232F6F #31429D

Accessibility & contrast

On white

16.66
#141B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#141B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B40
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B40#FFFFFF#000000##FFFFFF
##141B401.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072041
Deuteranopia (green-blind)
#011C3F
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #141b40;
/* rgb */ color: rgb(20, 27, 64);
/* oklch */ color: oklch(23.9% 0.071 272.0);
Tailwind
colors: {
  custom: {
    50: '#575775',
    500: '#141b40',
    950: '#000000',
  },
}
SCSS
$custom: #141b40;
$custom-light: #575775;
$custom-dark: #000000;
JSON
{
  "hex": "#141b40",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 230.455,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23932,
    "c": 0.07058,
    "h": 272
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#141B40
secondary
#786E38
accent
#C54CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #141B40

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

Preview Lab → · Contrast checker → · Palette generator →

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