#141F5F#141F5F

#141F5F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.114 H 269.7°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#141F5F
RGBrgb(20, 31, 95)
HSLhsl(231, 65%, 23%)
HSVhsv(231, 79%, 37%)
CMYKcmyk(78.9%, 67.4%, 0%, 62.7%)
CIE-LABlab(15.25, 20.53, -39.42)
CIE-LCHlch(15.25, 44.44, 297.51°)
OKLaboklab(27.74% -0.0006 -0.1139)
OKLCHoklch(27.74% 0.114 269.7)
XYZxyz(2.8433, 1.9546, 11.0517)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F5F #5F5414
analogous
#14445F #141F5F #2F145F
triadic
#141F5F #5F141F #1F5F14
tetradic
#141F5F #5F1444 #5F5414 #145F2F
square
#141F5F #5F1444 #5F5414 #145F2F
split-complementary
#141F5F #5F2F14 #445F14
monochromatic
#050819 #090F2C #141F5F #1F2F92 #2940C4

Accessibility & contrast

On white

15.10
#141F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#141F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F5F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F5F#FFFFFF#000000##FFFFFF
##141F5F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00235E
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #141f5f;
/* rgb */ color: rgb(20, 31, 95);
/* oklch */ color: oklch(27.7% 0.114 269.7);
Tailwind
colors: {
  custom: {
    50: '#5f5a8d',
    500: '#141f5f',
    950: '#000000',
  },
}
SCSS
$custom: #141f5f;
$custom-light: #5f5a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#141f5f",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 231.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27745,
    "c": 0.11392,
    "h": 269.7
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#141F5F
secondary
#978938
accent
#CF40E8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #141F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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