#141E57#141E57

#141E57 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.103 H 270.2°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#141E57
RGBrgb(20, 30, 87)
HSLhsl(231, 63%, 21%)
HSVhsv(231, 77%, 34%)
CMYKcmyk(77%, 65.5%, 0%, 65.9%)
CIE-LABlab(14.20, 17.97, -35.77)
CIE-LCHlch(14.20, 40.03, 296.67°)
OKLaboklab(26.74% 0.0004 -0.1032)
OKLCHoklch(26.74% 0.103 270.2)
XYZxyz(2.4725, 1.7651, 9.2254)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141E57 #574D14
analogous
#143F57 #141E57 #2B1457
triadic
#141E57 #57141E #1E5714
tetradic
#141E57 #57143F #574D14 #14572B
square
#141E57 #57143F #574D14 #14572B
split-complementary
#141E57 #572B14 #3F5714
monochromatic
#060919 #090D25 #141E57 #1F2F89 #2B40BB

Accessibility & contrast

On white

15.52
#141E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#141E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141E57
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141E57#FFFFFF#000000##FFFFFF
##141E571.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#002C37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141e57;
/* rgb */ color: rgb(20, 30, 87);
/* oklch */ color: oklch(26.7% 0.103 270.2);
Tailwind
colors: {
  custom: {
    50: '#5d5987',
    500: '#141e57',
    950: '#000000',
  },
}
SCSS
$custom: #141e57;
$custom-light: #5d5987;
$custom-dark: #000000;
JSON
{
  "hex": "#141e57",
  "rgb": {
    "r": 20,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 231.045,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26738,
    "c": 0.10322,
    "h": 270.2
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#141E57
secondary
#8F8238
accent
#CD42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141E57

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

Preview Lab → · Contrast checker → · Palette generator →

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