#141E42#141E42

#141E42 is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.069 H 269.2°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#141E42
RGBrgb(20, 30, 66)
HSLhsl(227, 53%, 17%)
HSVhsv(227, 70%, 26%)
CMYKcmyk(69.7%, 54.5%, 0%, 74.1%)
CIE-LABlab(12.42, 9.17, -24.23)
CIE-LCHlch(12.42, 25.91, 290.73°)
OKLaboklab(24.83% -0.001 -0.0693)
OKLCHoklch(24.83% 0.069 269.2)
XYZxyz(1.7358, 1.4705, 5.3456)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141E42 #423814
analogous
#143542 #141E42 #211442
triadic
#141E42 #42141E #1E4214
tetradic
#141E42 #421435 #423814 #144221
square
#141E42 #421435 #423814 #144221
split-complementary
#141E42 #422114 #354214
monochromatic
#070B17 #070B17 #141E42 #223371 #3049A0

Accessibility & contrast

On white

16.23
#141E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#141E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141E42
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141E42#FFFFFF#000000##FFFFFF
##141E421.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2343
Deuteranopia (green-blind)
#041E41
Tritanopia (blue-blind)
#00262C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #141e42;
/* rgb */ color: rgb(20, 30, 66);
/* oklch */ color: oklch(24.8% 0.069 269.2);
Tailwind
colors: {
  custom: {
    50: '#575977',
    500: '#141e42',
    950: '#000000',
  },
}
SCSS
$custom: #141e42;
$custom-light: #575977;
$custom-dark: #000000;
JSON
{
  "hex": "#141e42",
  "rgb": {
    "r": 20,
    "g": 30,
    "b": 66
  },
  "hsl": {
    "h": 226.957,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24835,
    "c": 0.06932,
    "h": 269.2
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#141E42
secondary
#7A6C38
accent
#BD4BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #141E42

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

Preview Lab → · Contrast checker → · Palette generator →

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