#141F4F#141F4F

#141F4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.089 H 269.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#141F4F
RGBrgb(20, 31, 79)
HSLhsl(229, 60%, 19%)
HSVhsv(229, 75%, 31%)
CMYKcmyk(74.7%, 60.8%, 0%, 69%)
CIE-LABlab(13.79, 13.88, -31.02)
CIE-LCHlch(13.79, 33.98, 294.10°)
OKLaboklab(26.2% -0.0007 -0.0892)
OKLCHoklch(26.2% 0.089 269.5)
XYZxyz(2.1893, 1.6930, 7.6070)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4F #4F4414
analogous
#143D4F #141F4F #27144F
triadic
#141F4F #4F141F #1F4F14
tetradic
#141F4F #4F143D #4F4414 #144F27
square
#141F4F #4F143D #4F4414 #144F27
split-complementary
#141F4F #4F2714 #3D4F14
monochromatic
#060A18 #080C1E #141F4F #203280 #2D45B1

Accessibility & contrast

On white

15.69
#141F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#141F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F4F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4F#FFFFFF#000000##FFFFFF
##141F4F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00214E
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141f4f;
/* rgb */ color: rgb(20, 31, 79);
/* oklch */ color: oklch(26.2% 0.089 269.5);
Tailwind
colors: {
  custom: {
    50: '#5a5a81',
    500: '#141f4f',
    950: '#000000',
  },
}
SCSS
$custom: #141f4f;
$custom-light: #5a5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4f",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 228.814,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26203,
    "c": 0.08925,
    "h": 269.5
  },
  "luminance": 0.01693
}

Semantic roles & 50–950 ramp

primary
#141F4F
secondary
#877838
accent
#C545E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #141F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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