#141C57#141C57

#141C57 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.106 H 271.1°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#141C57
RGBrgb(20, 28, 87)
HSLhsl(233, 63%, 21%)
HSVhsv(233, 77%, 34%)
CMYKcmyk(77%, 67.8%, 0%, 65.9%)
CIE-LABlab(13.63, 19.44, -36.70)
CIE-LCHlch(13.63, 41.53, 297.91°)
OKLaboklab(26.32% 0.002 -0.106)
OKLCHoklch(26.32% 0.106 271.1)
XYZxyz(2.4235, 1.6671, 9.2090)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141C57 #574F14
analogous
#143D57 #141C57 #2D1457
triadic
#141C57 #57141C #1C5714
tetradic
#141C57 #57143D #574F14 #14572D
square
#141C57 #57143D #574F14 #14572D
split-complementary
#141C57 #572D14 #3D5714
monochromatic
#060819 #090C25 #141C57 #1F2C89 #2B3CBB

Accessibility & contrast

On white

15.75
#141C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#141C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141C57
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141C57#FFFFFF#000000##FFFFFF
##141C571.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#002B36
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141c57;
/* rgb */ color: rgb(20, 28, 87);
/* oklch */ color: oklch(26.3% 0.106 271.1);
Tailwind
colors: {
  custom: {
    50: '#5d5887',
    500: '#141c57',
    950: '#000000',
  },
}
SCSS
$custom: #141c57;
$custom-light: #5d5887;
$custom-dark: #000000;
JSON
{
  "hex": "#141c57",
  "rgb": {
    "r": 20,
    "g": 28,
    "b": 87
  },
  "hsl": {
    "h": 232.836,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26317,
    "c": 0.106,
    "h": 271.1
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#141C57
secondary
#8F8538
accent
#D242E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141C57

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

Preview Lab → · Contrast checker → · Palette generator →

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