#141E51#141E51

#141E51 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.094 H 270.2°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#141E51
RGBrgb(20, 30, 81)
HSLhsl(230, 60%, 20%)
HSVhsv(230, 75%, 32%)
CMYKcmyk(75.3%, 63%, 0%, 68.2%)
CIE-LABlab(13.66, 15.47, -32.59)
CIE-LCHlch(13.66, 36.08, 295.39°)
OKLaboklab(26.16% 0.0003 -0.0939)
OKLCHoklch(26.16% 0.094 270.2)
XYZxyz(2.2375, 1.6711, 7.9876)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141E51 #514714
analogous
#143D51 #141E51 #291451
triadic
#141E51 #51141E #1E5114
tetradic
#141E51 #51143D #514714 #145129
square
#141E51 #51143D #514714 #145129
split-complementary
#141E51 #512914 #3D5114
monochromatic
#060919 #080C20 #141E51 #203082 #2C42B3

Accessibility & contrast

On white

15.74
#141E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141E51
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141E51#FFFFFF#000000##FFFFFF
##141E511.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#002050
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141e51;
/* rgb */ color: rgb(20, 30, 81);
/* oklch */ color: oklch(26.2% 0.094 270.2);
Tailwind
colors: {
  custom: {
    50: '#5b5982',
    500: '#141e51',
    950: '#000000',
  },
}
SCSS
$custom: #141e51;
$custom-light: #5b5982;
$custom-dark: #000000;
JSON
{
  "hex": "#141e51",
  "rgb": {
    "r": 20,
    "g": 30,
    "b": 81
  },
  "hsl": {
    "h": 230.164,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26161,
    "c": 0.09389,
    "h": 270.2
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#141E51
secondary
#897C38
accent
#C944E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #141E51

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

Preview Lab → · Contrast checker → · Palette generator →

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