#141C5E#141C5E

#141C5E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.116 H 270.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#141C5E
RGBrgb(20, 28, 94)
HSLhsl(234, 65%, 22%)
HSVhsv(234, 79%, 37%)
CMYKcmyk(78.7%, 70.2%, 0%, 63.1%)
CIE-LABlab(14.33, 22.28, -40.26)
CIE-LCHlch(14.33, 46.01, 298.96°)
OKLaboklab(27.04% 0.0016 -0.1164)
OKLCHoklch(27.04% 0.116 270.8)
XYZxyz(2.7234, 1.7871, 10.7889)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141C5E #5E5614
analogous
#14415E #141C5E #31145E
triadic
#141C5E #5E141C #1C5E14
tetradic
#141C5E #5E1441 #5E5614 #145E31
square
#141C5E #5E1441 #5E5614 #145E31
split-complementary
#141C5E #5E3114 #415E14
monochromatic
#050819 #090D2C #141C5E #1F2B90 #293AC3

Accessibility & contrast

On white

15.47
#141C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#141C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141C5E
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141C5E#FFFFFF#000000##FFFFFF
##141C5E1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#002E3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141c5e;
/* rgb */ color: rgb(20, 28, 94);
/* oklch */ color: oklch(27.0% 0.116 270.8);
Tailwind
colors: {
  custom: {
    50: '#5f588c',
    500: '#141c5e',
    950: '#000000',
  },
}
SCSS
$custom: #141c5e;
$custom-light: #5f588c;
$custom-dark: #000000;
JSON
{
  "hex": "#141c5e",
  "rgb": {
    "r": 20,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 233.514,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.11642,
    "h": 270.8
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#141C5E
secondary
#968C38
accent
#D640E8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05030C
muted
#79787D

Preview Lab

Preview with #141C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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