#141F5C#141F5C

#141F5C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.109 H 269.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#141F5C
RGBrgb(20, 31, 92)
HSLhsl(231, 64%, 22%)
HSVhsv(231, 78%, 36%)
CMYKcmyk(78.3%, 66.3%, 0%, 63.9%)
CIE-LABlab(14.96, 19.30, -37.89)
CIE-LCHlch(14.96, 42.52, 296.99°)
OKLaboklab(27.44% -0.0005 -0.1094)
OKLCHoklch(27.44% 0.109 269.7)
XYZxyz(2.7096, 1.9011, 10.3473)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F5C #5C5114
analogous
#14435C #141F5C #2D145C
triadic
#141F5C #5C141F #1F5C14
tetradic
#141F5C #5C1443 #5C5114 #145C2D
square
#141F5C #5C1443 #5C5114 #145C2D
split-complementary
#141F5C #5C2D14 #435C14
monochromatic
#050819 #090E2A #141F5C #1F308E #2A41C1

Accessibility & contrast

On white

15.22
#141F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#141F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F5C
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F5C#FFFFFF#000000##FFFFFF
##141F5C1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00225B
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #141f5c;
/* rgb */ color: rgb(20, 31, 92);
/* oklch */ color: oklch(27.4% 0.109 269.7);
Tailwind
colors: {
  custom: {
    50: '#5e5a8b',
    500: '#141f5c',
    950: '#000000',
  },
}
SCSS
$custom: #141f5c;
$custom-light: #5e5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#141f5c",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 230.833,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27444,
    "c": 0.10944,
    "h": 269.7
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#141F5C
secondary
#948638
accent
#CE41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #141F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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