#141F4A#141F4A

#141F4A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.081 H 269.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#141F4A
RGBrgb(20, 31, 74)
HSLhsl(228, 57%, 18%)
HSVhsv(228, 73%, 29%)
CMYKcmyk(73%, 58.1%, 0%, 71%)
CIE-LABlab(13.37, 11.77, -28.26)
CIE-LCHlch(13.37, 30.62, 292.61°)
OKLaboklab(25.76% -0.0011 -0.0811)
OKLCHoklch(25.76% 0.081 269.2)
XYZxyz(2.0141, 1.6229, 6.6844)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4A #4A3F14
analogous
#143A4A #141F4A #24144A
triadic
#141F4A #4A141F #1F4A14
tetradic
#141F4A #4A143A #4A3F14 #144A24
square
#141F4A #4A143A #4A3F14 #144A24
split-complementary
#141F4A #4A2414 #3A4A14
monochromatic
#070A18 #070B1A #141F4A #21337A #2E47AA

Accessibility & contrast

On white

15.85
#141F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#141F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F4A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4A#FFFFFF#000000##FFFFFF
##141F4A1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #141f4a;
/* rgb */ color: rgb(20, 31, 74);
/* oklch */ color: oklch(25.8% 0.081 269.2);
Tailwind
colors: {
  custom: {
    50: '#595a7d',
    500: '#141f4a',
    950: '#000000',
  },
}
SCSS
$custom: #141f4a;
$custom-light: #595a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4a",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 227.778,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25756,
    "c": 0.08115,
    "h": 269.2
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#141F4A
secondary
#827338
accent
#C147E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #141F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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