#141F40#141F40

#141F40 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.064 H 267.7°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#141F40
RGBrgb(20, 31, 64)
HSLhsl(225, 52%, 16%)
HSVhsv(225, 69%, 25%)
CMYKcmyk(68.8%, 51.6%, 0%, 74.9%)
CIE-LABlab(12.60, 7.58, -22.54)
CIE-LCHlch(12.60, 23.78, 288.58°)
OKLaboklab(24.93% -0.0026 -0.0643)
OKLCHoklch(24.93% 0.064 267.7)
XYZxyz(1.7036, 1.4987, 5.0490)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F40 #403514
analogous
#143540 #141F40 #1F1440
triadic
#141F40 #40141F #1F4014
tetradic
#141F40 #401435 #403514 #14401F
square
#141F40 #401435 #403514 #14401F
split-complementary
#141F40 #401F14 #354014
monochromatic
#070B17 #070B17 #141F40 #23366F #314C9D

Accessibility & contrast

On white

16.16
#141F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#141F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F40
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F40#FFFFFF#000000##FFFFFF
##141F401.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#091F3F
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #141f40;
/* rgb */ color: rgb(20, 31, 64);
/* oklch */ color: oklch(24.9% 0.064 267.7);
Tailwind
colors: {
  custom: {
    50: '#565a75',
    500: '#141f40',
    950: '#000000',
  },
}
SCSS
$custom: #141f40;
$custom-light: #565a75;
$custom-dark: #000000;
JSON
{
  "hex": "#141f40",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 225,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24925,
    "c": 0.06437,
    "h": 267.7
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#141F40
secondary
#786838
accent
#B84CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #141F40

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

Preview Lab → · Contrast checker → · Palette generator →

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