#141B57#141B57

#141B57 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.107 H 271.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#141B57
RGBrgb(20, 27, 87)
HSLhsl(234, 63%, 21%)
HSVhsv(234, 77%, 34%)
CMYKcmyk(77%, 69%, 0%, 65.9%)
CIE-LABlab(13.35, 20.16, -37.15)
CIE-LCHlch(13.35, 42.27, 298.49°)
OKLaboklab(26.11% 0.0028 -0.1073)
OKLCHoklch(26.11% 0.107 271.5)
XYZxyz(2.4001, 1.6205, 9.2013)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141B57 #575014
analogous
#143C57 #141B57 #2E1457
triadic
#141B57 #57141B #1B5714
tetradic
#141B57 #57143C #575014 #14572E
square
#141B57 #57143C #575014 #14572E
split-complementary
#141B57 #572E14 #3C5714
monochromatic
#060819 #090C25 #141B57 #1F2A89 #2B3ABB

Accessibility & contrast

On white

15.86
#141B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#141B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141B57
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141B57#FFFFFF#000000##FFFFFF
##141B571.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #141b57;
/* rgb */ color: rgb(20, 27, 87);
/* oklch */ color: oklch(26.1% 0.107 271.5);
Tailwind
colors: {
  custom: {
    50: '#5d5787',
    500: '#141b57',
    950: '#000000',
  },
}
SCSS
$custom: #141b57;
$custom-light: #5d5787;
$custom-dark: #000000;
JSON
{
  "hex": "#141b57",
  "rgb": {
    "r": 20,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 233.731,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26112,
    "c": 0.10736,
    "h": 271.5
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#141B57
secondary
#8F8638
accent
#D542E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141B57

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

Preview Lab → · Contrast checker → · Palette generator →

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